• Hi,

    I’m a new user so please be kind! I’m trying to find a way to use custon CSS to prevent the published date appearing in the box under a “post” excerpt on the home page and other pages that post is displayed.

    I’ve seen lots of examples on here of how to do it but I can’t seem to get it to work.

    My current customised CSS is like this:

    /* Set colours on menu */
    .main-navigation ul li ul {
    	background: none repeat scroll 0 0 rgba(255,229,242, 1);
    }
    
    /* header modificaiton */
    #header-right-section .widget {
            width: 100%;
    }
    
    /* remove date from posts */
    .entry-date published { display: none; }
    

    Thanks so much in advance for your help.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sturgjoh

    (@sturgjoh)

    Hi,

    I did some more playing and found that this seemed to work:

    /* remove date from posts */
    .date { display: none; }
    

    Is this the right way to do it or will I cause problems?

    Thanks

    John

    Hi,

    If you want to remove the date from the whole site, you can use the code mentioned above. The above code to remove the date won’t cause any problem.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CSS to hide published date from bottom of posts’ is closed to new replies.