Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #745788

    Hi,
    it’s the third time that I publish a new post blog and h2 content is wider than others. I don’t change nothing.
    Can you help me please? Because it’s ugly to show this content.
    The next time I Place a negative comment on Enfold theme.

    Thanks

    Luigina

    #746151

    Hey neonlights79,

    Are you referring to the title of the blog post? If so then the width of that element is always 100%. Please try to explain a bit further or post a screenshot of the problem. The width of that element is not something you can set yourself in the theme backend so I’m not sure why you would leave a negative comment about the theme because of it?

    Best regards,
    Rikard

    #746423

    Hi Rikard,
    if you read better my thread and see my last post you’ll see that the problem is not title but my pink subheading .
    In the first link you can see that H2 content is wider than other link
    https://www.dropbox.com/s/deym1dxxbmznqt5/Screenshot%202017-02-13%2013.45.34.png?dl=0
    https://www.dropbox.com/s/jy9ij2er4e69p07/Screenshot%202017-02-13%2013.45.50.png?dl=0

    I have to post my last post on my facebook page on wednesday and I want that it’s ok.

    Thanks

    Luigina

    #746432

    Hi,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .single-post .entry-content>h2:nth-child(1) {
        font-size: 18px;
        color: #d600b2;
        line-height: 35px;
    }
    

    Best regards,
    Yigit

    #746509

    Hi Yigit,
    the problem is solved but I don’t understand why the subheading was wider than others.
    Can you explain me?
    Thanks

    #746514

    Hey!

    Since that heading element does not have a unique ID or class, it is difficult to target it. But from now on, it should work fine as long as it is the first element with H2 tag in your single post content

    Best regards,
    Yigit

    #746529

    Ok Thanks Yigit, I hope.

    Luigina

    #746531

    Hi!

    You are welcome. Let us know if you have any other questions or issues :)

    Regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘H2 content’ is closed to new replies.