Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1348952
    Rob D
    Participant

    I used this css code to remove the featured image from all Pages.

    .page .entry-featured { display: none; !important;
    }

    However this left a border. I was able to remove the border using this:

    .entry-featured.mtn {
    display: none !important;
    }

    However there is still a blank space at the top of the page. Have searched the forums for answers but nothing worked to remove this spacing. Please help.

    #1348953
    Rob D
    Participant
    This reply has been marked as private.
    #1349285
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Upon checking, I see that you have the following CSS rule defined, cause this issue. Please try removing it.

    
    .entry-content {
        margin-top: 25px;
    }
    

    Thanks!

    #1349297
    Rob D
    Participant

    I don’t believe that is something I’ve added. It’s definitely not in the Customizer Global Css section, is there somewhere else I should be checking?

    As far as I can see the blank space is only there when there is a featured image assigned to the Page. If I remove the featured image the blank space disappears.

    #1349415
    Rue Nel
    Moderator

    Hello There,

    Thank you for the clarifications. When I checked your page, I found that you have hidden the featured image using the css code as shown here: http://prnt.sc/e1qmb7

    In the entry content, there is a default top margin. You can clearly see it here: http://prnt.sc/e1qmg1

    If you want to remove this, you can add this css code in the customizer;

    .page .entry-content {
        margin-top: 0;
    }

    And you should have something like this: http://prnt.sc/e1qmno

    Hope this helps.

    #1349681
    Rob D
    Participant

    Thanks, that worked.

    #1349684
    Thai
    Moderator

    If you need anything else please let us know.

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