Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1115424
    yhshin1020
    Participant

    Hey,

    So i have an element i want to center on my page.

    I’ve given it a class and used the css to center it but it doesnt seem to work.

    Could you check?

    #1115425
    yhshin1020
    Participant
    This reply has been marked as private.
    #1115543
    Thai
    Moderator

    Hi There,

    Please remove this inline CSS:

    width: 65%;

    Then add the following CSS under Customizer > Custom > Global CSS:

    .mpc-column {
        text-align: center;
    }

    Hope it helps 🙂

    #1115559
    yhshin1020
    Participant
    This reply has been marked as private.
    #1115677
    Jade
    Moderator

    Please try this code:

    .mpc-typography--mpc_preset_44 {
        width: 100%;
        text-align: center;
    }

    Hope this helps.

    #1116945
    yhshin1020
    Participant
    This reply has been marked as private.
    #1117111
    Paul R
    Moderator

    Hi,

    You can try this code instead.

    
    .page-id-952 #x-content-band-4 .mpc-animated-text__block, 
    .page-id-952 #x-content-band-4 .mpc-animated-text__word {
         font-family:Arial;
         color:red;
    }
    

    Change Arial and red to achieve your desired result.

    Hope that helps.

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