Home › Forums › Mint Theme Discussion & Support › Hidden (unvolontary) headings
This topic contains 15 replies, has 2 voices, and was last updated by themeweaver 8 years, 4 months ago.
-
AuthorPosts
-
November 23, 2012 at 4:00 pm #3593
Hi,
There should be a title on this page and on others but they don’t show up…
http://www.abuztil.com/avantages-inscription/
Please help ! 🙂
Thanks,
MaxNovember 25, 2012 at 8:09 am #3599Have you modified the style.css that came with the theme. You seem to have a line in there that isn’t in our current version.
Line 761 you have
.entry-title {
display: none;
}So no titles!!
November 25, 2012 at 11:41 am #3601What a dumb… :$ Sorry for the waste of time…
I saw this problem before modifying the css on the Activity Page.
But I understand now that you hid the title on purpose when the user is connected.But then comes my next question if you don’t mind :
On the homepage I’d like to hide the subjects of the posted articles…
Should I delete directly the line(s) concerning the post title in the template-blog.php that I use for the static homepage ?Thanks a lot. I believe then I’m done and thanks to you, the website will be done.
November 25, 2012 at 7:15 pm #3604Doesn’t the show posts widget have an option to no display titles?
November 25, 2012 at 9:11 pm #3606I’m afraid I don’t see what you’re talking about.
I thought the “widgets” were only for the sidebars and footer and couldn’t be used in the body of a static page… (?)
It’s the first time I use wordpress / buddypress and set a theme. I would be thankful if you could show me the way…
November 25, 2012 at 9:18 pm #3607I found your widget. I’ll try not to use a static page to be able to use it but I want to keep the same organisation…
Thanks
November 25, 2012 at 9:34 pm #3608No, definitly, it doesn’t fit to the design I need for the homepage, but it’s not your fault, you can’t make a theme that goes with every single use people will have for your theme.
I’ll find a solution. I just thought you might have one already in mind !
Thanks a lot !
November 26, 2012 at 8:12 am #3609Ok so you are using a static home page. This will of course override the default theme home page which is fully widgetized.
But if all you need is to make a title not show up you can use some css and use display:none;
You just need to identify the css selector that will target the title you need removing. You can even do this per page:
.page-id-246 h1.entry-title{
display:none;
}November 26, 2012 at 9:41 am #3610That’s a good trick I know but I need it to be automatic because of the number of the posts (coming from any members of the website and automaticly published).
So maybe I should just delete the php code requesting for the post title in the blog template files…?
What do you think…?
Thanks
November 26, 2012 at 11:03 am #3611No, use css. No need to edit php. You just need the correct css selector to target the titles you are after. It isn’t clear to me which titles and on which pages or posts you are trying to remove. Perhaps explain and I’ll suggest the css.
November 26, 2012 at 3:38 pm #3612Thanks a lot for your help.
Sure, here is an explanation : I want to make sure that all post titles will be hidden automatically, at least on the homepage. Without me having to insert the id of each post in the CSS.
This site is meant to be kind of a girly fmylife.com so people will be able to post any story they like. And I can’t check for every single new post that will be posted to hide their titles once they are published…
So to be clear, I need to :
Have the posts titles hidden automatically.
Only on the (static) homepage I made would be nice. But if it has to be hidden on all the website it’s ok.If you have any suggestion…?
Thanks again !
November 28, 2012 at 5:18 pm #3617Do you have the url of the static homepage? Or is it the current homepage?
November 28, 2012 at 5:45 pm #3620Yes, it is the current homepage…
November 29, 2012 at 4:02 pm #3622Ok, so to hide post titles on your home page:
.home .post h1.entry-title {display:none;}
November 29, 2012 at 4:38 pm #3623That’s just perfect ! Exactly what I needed…!
And it makes me understand better how it works.Thanks a lot again ! Resolved ! 😉
-
AuthorPosts
You must be logged in to reply to this topic.