WordPress.org

Forums

'.entry-meta {display:none;}' not working (6 posts)

  1. scott1978
    Member
    Posted 3 years ago #

    Hi,

    The following code is not working:

    .entry-meta {
    display:none;
    }

    for the following page(s): http://www.saundersalbum.com/portfolio/woodstock-bleinheim-07. I want to remove the "posted on..."

    Thanks,

    Scott

  2. datdesignguy
    Member
    Posted 3 years ago #

    Hi Scott,

    Looks like the style definitions in your css file for the .entry-meta class are at Line #427

    I don't see the code you mention anywhere in your stylesheet or page using Chrome Element inspector.

    If you alter the 'display' property in .entry-meta at line #427 or better yet, at the bottom of your stylesheet in a separate declaration, that should "kill" the display of "posted on"

  3. scott1978
    Member
    Posted 3 years ago #

    Thanks for the message and your help,

    However, I enter the following code into my style sheet:

    .entry-meta {display:none !important;}

    But still not working. Stumped.

    Thanks

    Scott

  4. datdesignguy
    Member
    Posted 3 years ago #

    Where are you adding this code? If it were successfully being added to any of the stylesheets associated with your theme, I'd be able to see it in Google Chrome's Element Inspector, but I cannot.

  5. WPyogi
    Forum Moderator
    Posted 3 years ago #

    You are missing a closing bracket in this code in the style.css file:

    #branding {
    	position:relative;
    	display:block;
    	background:#000000 url(http://www.saundersalbum.com/wp-content/uploads/2012/05/collage2.png);
            border:2px solid #000;
    	padding:30px 0 30px;

    Thus, none of the CSS below is working...

  6. scott1978
    Member
    Posted 3 years ago #

    Aha!

    Thank you all for your help - I'm new to CSS and (slowly) learning.

    Thanks,

    Scott

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.