Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1041453
    stuartrowens
    Participant

    Hi,

    I’m trying to prevent all metadata from displaying in a recent posts section on my site. I’ve worked through this thread: https://community.theme.co/forums/topic/remove-post-meta-data-date-and-author-please/ as well as others like it to try to remove the date from recent posts sections throughout the site.

    My site: http://titan-premier.com.

    The fixes offered successfully removed the date from the recent posts when viewed on larger screens, but the dates still show on mobile and tablet sized screens. Any idea how to remove them no matter the screen size?

    #1041734
    Thai
    Moderator

    Hi There,

    Please find this CSS:

    @media (min-width: 980px) {
    body.x-navbar-fixed-top-active .x-navbar-wrap {
    height: 60px;
    position: relative;
    z-index: 99999;
    }
    .x-navbar:not(.x-navbar-fixed-top) .x-brand {
    position: absolute;
    z-index: 999;
    top: -30px;
    }
    .x-recent-posts .x-recent-posts-date {
        display: none;
    }

    And change to this:

    @media (min-width: 980px) {
    	body.x-navbar-fixed-top-active .x-navbar-wrap {
    	height: 60px;
    	position: relative;
    	z-index: 99999;
    	}
    	.x-navbar:not(.x-navbar-fixed-top) .x-brand {
    	position: absolute;
    	z-index: 999;
    	top: -30px;
    	}
    }
    .x-recent-posts .x-recent-posts-date {
        display: none;
    }

    Hope it helps 🙂

    #1041761
    stuartrowens
    Participant

    That did it, thanks Thai!

    #1042194
    Friech
    Moderator

    We’re delighted to assist you with this.

    Cheers!

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