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

    Change the appearance of text blog. without affecting the text of product descriptions

    Hi. I have introduced this code to change the appearance of text blog. and all good.
    but. The only problem is that it also affects the product descriptions.
    Is there any way this only affects the blog?

    .entry-content p {
    line-height: 150%
    margin-top: 31px;
    margin-bottom: 27px;
    text-align: justify;
    text-justify: inter-word;
    }

    attached screen

    http://s12.postimg.org/5vsdltjgb/image1.jpg

    • This topic was modified 8 years, 2 months ago by Tokyo.
    #705170

    Hey Triceratops,

    Please try this instead:

    .blog .entry-content p {
    line-height: 150%
    margin-top: 31px;
    margin-bottom: 27px;
    text-align: justify;
    text-justify: inter-word;
    }

    If that doesn’t work then please post a link to your site.

    Best regards,
    Rikard

    #705286

    hey! thanks but it does not work.
    I provided the data to access
    Thank you

    #706622

    Hi,

    Nice site, 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 p {
    line-height: 150%
    margin-top: 31px;
    margin-bottom: 27px;
    text-align: justify;
    text-justify: inter-word;
    }
    

    Best regards,
    Vinay

    #706699

    Hey :) Thank you Vinay,

    Your code works perfectly, thank you very much

    Best regards

    #706932

    Hi,

    Glad we could help :)

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Change the appearance of text blog. without affecting the text of product descri’ is closed to new replies.