Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #70687
    Wiktor Szafranowicz
    Participant
    Premium Member

    I added shadow CSS to my blog header, but I can’t add it to the slogan under the header (…lecz nie tylko dla dwojga).

    I used this code:

    h1 {
    color: white;
    text-shadow:
    -1px -1px 0 #fff,
    3px -1px 0 #fff,
    -1px 3px 0 #fff,
    3px 3px 0 #fff;
    }

    It works when I add similar code with < p > instead of < h1 >, but it also changes the post excerpt on the main page and I don’t want that. Is there a way to add shadow only to the slogan under my header?

     

    #70694
    vako
    Keymaster
    WP Royal Team

    Hi Wiktor,

     

    At first, thank you for choosing our theme and service.

    TO make changes use this class: .site-description

     

    Kind Regards

    #70710
    Wiktor Szafranowicz
    Participant
    Premium Member

    Thank you! It worked!

    Though I just realized, that my h1 code works only on the main page, in posts the border is not visible. What should I use to make it visible all the time, in posts and on main page?

    #70718
    vako
    Keymaster
    WP Royal Team

    Hi Wiktor,

     

    Instead of h1 tag use CSS class: .header-logo

     

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.