Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1062247
    tylervarian
    Participant

    Hi I have some code: <p style=”text-align: left; padding-left: 16px;”>xxxxxxx in Cornerstone (TEXT element) It looks great in preview – a simple paragraph <p> font. However when I look at the live site, this xxxxxxx copy is bold.

    http://69.195.124.107/~tudiofi8/ (Click BUZZ (in the nav bar)) The blue copy looks good, it’s the gray copy that should NOT be bold.

    Thanks so much!

    #1062672
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    It is because the text element is wrapped inside HTML <strong> tag. A quick solution that should work is to assign class into <p> tag. Ex:

    <p class="remove-bold-paragraph" style=”text-align: left; padding-left: 16px;”>xxxxxxx</p>

    Then you can add this under Custom > CSS in the Customizer:

    .remove-bold-paragraph{
        font-weight: 400;
    }

    Other then that we request you to share login details of your website in a private reply to look more closely into the issue.

    Thanks.

    #1063055
    tylervarian
    Participant
    This reply has been marked as private.
    #1063074
    tylervarian
    Participant
    This reply has been marked as private.
    #1063127
    Christopher
    Moderator

    Hi there,

    You’re using tag in your text elements, see :

    <p style="text-align: left; padding-left: 18px;"><span style="color: 
    #003366"><strong><em>“TRAINING WITH ADAM HAS BEEN TOUGH AS HELL, AND A TON OF FUN. I’VE NEVER FELT BETTER ABOUT MYSELF!”
    </strong></em></p><strong></html>
    

    It should be :

    <p style="text-align: left; padding-left: 18px;"><span style="color: 
    #003366"><em>“TRAINING WITH ADAM HAS BEEN TOUGH AS HELL, AND A TON OF FUN. I’VE NEVER FELT BETTER ABOUT MYSELF!”
    </em></p>
    

    Hope it helps.

    #1063368
    tylervarian
    Participant

    Hi. No, I was talking about the gray copy below the blue copy. The gray copy does not have in it and yet is showing up bold.

    Thanks!

    #1063416
    Joao
    Moderator

    Hi There,

    That is happening because of the open tags. Your whole page is one html document, if you leave an open tag in the first section it will affect the second, third ans so on.

    Please correct your content as Christopher recommended.

    Hope that helps,

    Joao

    #1063457
    tylervarian
    Participant

    OHHHHHHH!! Got it, I’m a newbie (obviously) and am just figuring out how to read code. Is there a book or anything you can suggest to help me learn html and css? Thanks so much!

    #1063468
    Jade
    Moderator

    Hi Tyler,

    You could start of with the resources provided in W3Schools.com.

    Hope this helps.

  • <script> jQuery(function($){ $("#no-reply-1062247 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>