Remove text from featured content
-
I want do remove the text from the featured content of my theme, and let only the Title of the post. Also I’d like to remove the “Featured” above the title, and let only the red line.
Thank you
The blog I need help with is: (visible only to logged in users)
-
Hi there,
Do you mean the text below “Aquela”? If so, paste the following CSS (My Sites>customize>CSS):.site-banner p { padding-bottom: 2.5em; visibility: hidden; }If you want to remove the “Featured” which in your case is “Destaque”, then use the following CSS:
.site-banner-header .banner-featured, .banner-custom-header .site-banner-header h1:before, .has-post-thumbnail .entry-meta .cat-links { background-color: #dc3522; visibility: hidden; }I can’t see any red line, only a white one, if you want to change the color of that line, then please use the following CSS where you can specify not only the color but also the width of that line (currently 1px)
.site-banner-header:before, .site-banner-header:after { border-top: 1px solid rgba(175, 22, 22, 0.5); content: ""; display: block; margin: 0 auto; position: absolute; } -
It worked very well! But the text is too high, how can i put it lower?
Also, is it possible to change the text “destaque” for any word I want?
Thank you very much!
-
If you set the padding-bottom value in Carla’s code to zero the text will move down the page a little.
The “featured” box uses text based on which language you have your blog set up in.
- The topic ‘Remove text from featured content’ is closed to new replies.