Remove date & center header

  • Author
    Posts
  • #1031363

    beamuj
    Member

    Hi,

    I’m having the same issue, I’ve tried a number of codes but they fail to remove the date and ‘posted on’ without shifting the page breaks on my blog.

    I’m using the sight theme.

    Also, is there any way I can centre my header using css coding?

    The blog I need help with is beamuj.wordpress.com.

    #1031538

    Center header… Try this

    .site-title {text-align: center;}

    #1031539

    On removing the date and posted on, did you try
    entry-meta {display: none;}

    #1031563

    I’ve tried a number of codes but they fail to remove the date and ‘posted on’ without shifting the page breaks on my blog.

    This might be what you’re looking for:

    .entry-meta {
    	visibility: hidden;
    }
    .entry-meta .comments-link {
    	float: left;
    	visibility: visible;
    }
    #1031564

    Also, is there any way I can centre my header using css coding?

    To center the site title in the Sight theme, add this to your Appearance → Custom Design → CSS editor:

    .site-header hgroup,
    .site-header hgroup .site-title {
    	width: 100%;
    	margin-left: 0;
    	text-align: center;
    }
    .site-header hgroup .site-description {
    	display: none;
    }
    #1031566

    beamuj
    Member

    Amazing, thank you so much I’ve managed to change the site title but removing the date with the code above doesn’t remove the ‘leave the comment’.
    Also one final question about the sight theme, how do I get the two grid/list icons beside the ‘latest entries’ line?

    #1031567

    I’ve managed to change the site title but removing the date with the code above doesn’t remove the ‘leave the comment’.

    You didn’t mention wanting to remove the ‘leave a comment’ link earlier.

    What is your end goal? Is it to remove the entire post meta line such as “Posted on October 7, 2012 • Leave a comment” and leave an empty space in its place without shifting any of the content below it up? Were you trying to make that change on the home page only or on individual posts as well?

    #1031568

    Also one final question about the sight theme, how do I get the two grid/list icons beside the ‘latest entries’ line?

    I’m not sure what you mean. Is this the blog you are working on? http://beamuj.wordpress.com/

    #1031569

    beamuj
    Member

    Sorrry, yes beamuj.wordpress.com is the blog i’m working on.

    I would like to remove the entire meta line just on the home page, previous codes I used would shift the positioning of the page.

    Here is a blog/site that has the features I’m looking for …

    http://beautifullyfitlife.com/

    You can see the grid/list symbol on the right end ‘the latest’ line there as well.

    Hopefully that makes more sense.

    Thanks

    #1031573

    I would like to remove the entire meta line just on the home page, previous codes I used would shift the positioning of the page.

    In that case, the solution houstonweaver posted earlier will work—except the dot at the front before “entry-meta” in the example above was missing, so if you tried it that might have been why it didn’t work before. Try this:

    .entry-meta {
        display: none;
    }
    #1031574

    The Sight theme setup here at WordPress.com doesn’t have grid/list functions, and there is not a way to add that in using CSS only.

    #1031577

    beamuj
    Member

    Okay great thanks.

The topic ‘Remove date & center header’ is closed to new replies.