Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1302167
    SEVERO
    Participant

    Hi there

    Not sure what update changed this but it wasn’t always like this.

    All my posts that have a lightbox attached to the image appear to have the correct spacing but if there isn’t a link or a video displayed the space increases before the Read More.

    http://www.mad-daily.com

    #1302416
    Friech
    Moderator

    Hi There,

    Thanks for writing in! You can add this on top of your Custom > CSS in the Customizer.

    .home p:empty {display: none;}

    Check your entire custom CSS here: http://csslint.net/ and resolve the errors.

    You can also do a plugin test to see which of the plugins that causing this empty <p> tags.

    Cheers!

    #1305438
    SEVERO
    Participant

    Hi there, that fixed it but it’s now removed the padding above the social media icons on the top left of the home page

    #1305443
    Christian
    Moderator

    Please remove this code from your CSS

    .x-topbar .x-social-global {
        margin-top: -5px;
    }

    Thanks.

    #1306513
    SEVERO
    Participant

    Hi there, by removing that code takes away the padding on all pages except the home page so what I did was add this into the CCS.

    .x-topbar .home .x-social-global {
        margin-top: -5px;
    }
    #1306658
    Prasant Rai
    Moderator

    Good to hear you figured it out! Let us know if you have any other questions. 🙂

    #1306831
    SEVERO
    Participant

    Just realised that the below code has only worked on the home page.

    .home p:empty {display: none;}

    How do we get this to work across the site?

    Thanks

    #1306840
    Lely
    Moderator

    Hello There,

    Please update to this:

    p:empty {display: none;}

    Cheers!

    #1307580
    SEVERO
    Participant

    Hmmmmm, should’ve thought of that one 🙂

    PERFECT!!

    Thanks!

    PS How do you do a plugin test?

    #1307785
    Friech
    Moderator

    Hi There,

    Plugin conflict test can be done by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Thanks.

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