Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1039553
    rmoss
    Participant

    Hey guys,

    I am trying to delete some padding around the top of one of the about pages on our website. For some reason, the code that is working for other pages is not working on this one page in particular. Here is an example of the code and a page that it is working correctly on.

    http://dominionpayroll.com/charlotte-north-carolina/

    The code is as follows:

    .post-779 #x-content-band-1 {
    padding-top: 0;
    }

    Now, I am trying to reduce the same padding on this page:

    http://dominionpayroll.com/austin-texas/

    And here is the code:

    .post-5603 #x-content-band-1 {
    padding-top: 0;
    }

    If you go to both pages, you can see that the Austin Texas Page still has the extra padding between the revolution slider and the first set of text on the page, even though the code is there telling it to remove it. Is there something I am missing? What else can I do?

    My site is dominionpayroll.com, I am using WP 4.5.2 and X Theme 4.5.2.

    Thanks for your help!

    #1039568
    rmoss
    Participant
    This reply has been marked as private.
    #1039713
    Rupok
    Member

    Hi there,

    Thanks for writing in! The code is not working for the other page as well rather the padding set for the section from option is working – http://prntscr.com/bfv0tz

    So you can set padding from the padding settings for the section or use !important tag –

    .post-5603 #x-content-band-1 {
      padding-top: 0 !important;
    }

    However the spacing mostly coming from the margin top value of the h5 tag you used. You can set margin-top:0; for the h5 in inline CSS or add mtn class.

    Hope this makes sense.

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