CSS Over ride isnt working? (3 posts)

  1. Northern Badger
    Posted 3 years ago #

    Hi there,

    I was wondering if anyone could help me. I have been trying to change the size of the padding title of a couple of my pages but the over rides aren't working. I'm not sure why.




    Here is what i have been using at the moment:

    .ml-cs-title-v {
        padding: 0.5em;

    It has not done anything.

    Stuart :)

  2. WPyogi
    Forum Moderator
    Posted 3 years ago #

    This CSS seems to be overriding it:

    .ml-cs-title-v {
        display: block !important;
        margin: 0 auto;
        padding: 1em;

    from this file:

  3. paulwpxp
    Font hero
    Posted 3 years ago #

    Change the order of file.css being loaded, the one overwritting must come after. Depending on how you load that file, if it got there by add_action() to wp_head , then just change the number of the 3rd parameter, default is 10, more number will be loaded later.

    In case, you can't change the order of that file, or if this would be just for a couple of places, then just give it more weight by putting in more class or even tie it with the element.

    .ml-content .ml-cs-title-v {
        padding: 0.5em;


    h1.ml-cs-title-v {
        padding: 0.5em;

Topic Closed

This topic has been closed to new replies.

About this Topic