[Resolved] Help with CSS for Underline in Headline

Home Forums Support [Resolved] Help with CSS for Underline in Headline

Home Forums Support Help with CSS for Underline in Headline

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1436168
    Huseyin

    Hi GeneratePress Team,

    I need help with the underline headline on my homepage, the problem that in heading settings it’s aligned centred however this code makes it left. Want the text with underline centred, thanks

    I want to achieve this https://ibb.co/yWsGM6x

    .headlineforindexstats {
    	    box-shadow: 0px -15px 0px #A1EC83 inset;
                display: inline-block;
    	    z-index: 2;
    	    position: relative;
    }
    
    #1436448
    David
    Staff
    Customer Support

    Hi there,

    try this CSS instead:

    .headlineforindexstats strong {
        box-shadow: 0px -15px 0px #A1EC83 inset;
    }
    #1436622
    Huseyin

    nahh it doesn’t work

    #1436631
    David
    Staff
    Customer Support

    Can you delete your CSS.
    Add the CSS i provided.
    Then clear any caches.

    If still a problem – leave my CSS in place so i can see the issue.

    #1437331
    Huseyin

    fixed, the problem was with my browser with caches.

    Thanks, legend.

    #1437754
    David
    Staff
    Customer Support

    Glad to be of help.

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