Tagline Won't Italicize

  • Author
    Posts
  • #144319

    rdavislawoffice
    Member
    Original poster

    I’m trying to italicize the tagline, but when I add font style css coding it still won’t show as italic. Is there something I did wrong? The css coding I used is:

    }
    .site-description { color: #F58429; font-family: “Times New Roman”, Times, serif; padding-left: 190px; font-size: 20px; font-style: italic; padding-bottom: 0px; position: relative; top: -22px
    }

    The blog I need help with is: rdavislawoffice.com

    #144474

    mkrdip
    Theme Author

    Hi there,

    Please just add an !important .

    font-style: italic !important;

    #144490

    rdavislawoffice
    Member
    Original poster

    Thank you. Is there a way to make the tagline invisible on mobile view? It looks fine on a tablet or desktop but on mobile view the words are on top of each other.

    #144709

    mkrdip
    Theme Author

    Hi there,

    Please use the following codes:

    @media only screen and (max-width: 640px) {
        .site-description {
            display: none;
        }
    }
    

    Cheers!

The topic ‘Tagline Won't Italicize’ is closed to new replies.