WordPress.org

Ready to get started?Download WordPress

Forums

Untitled
[resolved] Remove/Hide sticky post title and date? (6 posts)

  1. Nicole
    Member
    Posted 1 year ago #

    I've been looking everywhere, but I can't find anything in any file of the Untitled theme that's related to sticky posts. The only reference is in the style css file but I don't know what to change.

    I would like the to remove/hide the post title and date of the sticky post.

    Where do I look and what do I change?

  2. ellp
    Member
    Posted 1 year ago #

    Hello!

    You can use css to hide the post title and the date, hide all the sticky post.

    Can you send the link of your site? It will be easier to help you.

  3. Nicole
    Member
    Posted 1 year ago #

    http://gambit.elfae.com/

    The "UPDATES" post is sticky.

    Here some css that has .sticky in it. I just can't find it in the source code of any of the pages or .js files...

    .post-index .sticky {
    }
    
    #main .format-video .single-thumbnail a:after,
    #main .format-standard .single-thumbnail a:after,
    #main .format-image .single-thumbnail a:after,
    #main .format-gallery .single-thumbnail a:after,
    #main .format-quote .single-thumbnail a:after,
    #main .sticky .single-thumbnail a:after,
    #main .format-status .single-thumbnail a:after,
    #main .format-audio .single-thumbnail a:after,
    #main .format-aside .single-thumbnail a:after{
    	font-family: "genericons", sans-serif;
    	margin-left: -35px;
    	position: absolute;
    	left: 50%;
    	top: 25%;
    	font-size: 60px;
    	color: #fff;
    	opacity: 0.7;
    	}
    
    #main .sticky .single-thumbnail a:after{
    	content: '\f308';
    	}
    
    @media screen and (max-width : 550px) {
    	#main .format-video .single-thumbnail a:after,
    	#main .format-standard .single-thumbnail a:after,
    	#main .format-image .single-thumbnail a:after,
    	#main .format-gallery .single-thumbnail a:after,
    	#main .format-quote .single-thumbnail a:after,
    	#main .sticky .single-thumbnail a:after,
    	#main .format-status .single-thumbnail a:after,
    	#main .format-audio .single-thumbnail a:after,
    	#main .format-aside .single-thumbnail a:after {
    		left: 54%;
    		top: 18%;
    		font-size: 50px;
    		color: #fff;
    	}
    
    	.minislides{
    		display:none;
    		}
    	#main .format-video .single-thumbnail a:after,
    	#main .format-standard .single-thumbnail a:after,
    	#main .format-image .single-thumbnail a:after,
    	#main .format-gallery .single-thumbnail a:after,
    	#main .format-quote .single-thumbnail a:after,
    	#main .sticky .single-thumbnail a:after,
    	#main .format-status .single-thumbnail a:after,
    	#main .format-audio .single-thumbnail a:after,
    	#main .format-aside .single-thumbnail a:after {
    		left: 60%;
    		top: 15%;
    		font-size: 50px;
    		color: #fff;
    	}
    
    @media screen and (max-width : 320px) {
    	#main .format-video .single-thumbnail a:after,
    	#main .format-standard .single-thumbnail a:after,
    	#main .format-image .single-thumbnail a:after,
    	#main .format-gallery .single-thumbnail a:after,
    	#main .format-quote .single-thumbnail a:after,
    	#main .sticky .single-thumbnail a:after,
    	#main .format-status .single-thumbnail a:after,
    	#main .format-audio .single-thumbnail a:after,
    	#main .format-aside .single-thumbnail a:after {
    		left: 60%;
    		top: 3%;
    		font-size: 50px;
    		color: #fff;
    	}
  4. clark.nick
    Member
    Posted 1 year ago #

    .sticky .entry-header {display: none;}
    .sticky .entry-meta {display: none;}

    I'm assuming that you're wanting to hide the "updates" and the "date" below.

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Make sure that any changes are made in a Child Theme or custom CSS (use a plugin if your theme does not have it as an option) - otherwise they will be lost when the theme is updated.

  6. Nicole
    Member
    Posted 1 year ago #

    @clark.nick: Thank you very much! Works like a charm.

    @WPyogi: Yup. I'm not the most experienced WP user, but after losing my editing once after an update, I know the pain of having to do it all over. Thanks for the reminder.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic