Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1267141
    yhshin1020
    Participant

    Hey,

    I want to center a custom headline to the center of the section (center of the screen)

    and I can’t seem to do it.

    I’ve done this:

    h2.omtraininghead{
      text-align: center !important;
      font-size: 70px;
      font-family: 'myriad-set-pro_thin';
    }

    But it doesnt work.

    I’ve attached a picture here to illutarte my issue: http://imgur.com/a/BHSBv

    Thank you very much.

    #1267157
    yhshin1020
    Participant
    This reply has been marked as private.
    #1267250
    Joao
    Moderator

    Hi there,

    Click on the columns where your headline is placed and and select centered, you also can write : text-align: center;

    on the style box of the column where the element is placed.

    Hope that helps,

    Joao

    #1267378
    yhshin1020
    Participant

    doesnt that align all the text to the center?

    i have a body of text that i want to keep left aligned, just the header i want centered.

    Thanks.

    #1267683
    Friech
    Moderator

    Hi There,

    Did you read my reply here?

    Try adding the code provided on that reply to your Custom CSS on Customizer.

    Thanks.

    #1267785
    yhshin1020
    Participant
    This reply has been marked as private.
    #1267798
    yhshin1020
    Participant

    Disregard, i solved it.

    Thanks a ton.

    #1267816
    Friech
    Moderator

    Yup a @media query to reset the width on mobile can resolve the responsive issue. Glad you sorted things out.

    Cheers!

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