[Resolved] Additional CSS not working

Home Forums Support [Resolved] Additional CSS not working

Home Forums Support Additional CSS not working

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2317222
    Ivaylo

    Hi,
    I’m trying to style a paragraph and added this CSS in Customize-Additional CSS:

    .related {
        border-left: 15px solid #dba433;
    	  font-weight: bold;
    	  font-family: Roboto;
        text-transform: uppercase;
        padding: 1rem 0 1.5rem 2rem;
        color: #dba433;
    }
    .related a {
    	  display: block;
        color: #000;
    }

    Trying to create the same look like in this post:

    1

    For each paragraph that I would like to style this way I manually add
    related

    to WordPress Additional CSS class(es) in Advanced Tab in WordPress Post Editor.

    What is wrong with the code?

    #2317224
    Ivaylo

    2

    #2317225
    Fernando
    Customer Support

    Hi Ivaylo,

    To have a better understanding of the issue, may you provide a link to a product where we can view the image issue?

    You may use the private information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2317393
    Ivaylo

    The issue is not an image. It’s a paragraph. See the link below.

    #2317701
    Ying
    Staff
    Customer Support

    It’s working on mobile, your CSS was added within a mobile media query:
    https://www.screencast.com/t/VPvooruoSD

    #2317815
    Ivaylo

    Thanks, Ying. I saw the problem and fixed it.

    #2317937
    Ying
    Staff
    Customer Support

    You are welcome 🙂

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