Home Forums Mint Theme Discussion & Support Hidden (unvolontary) headings

This topic is: resolved

This topic contains 15 replies, has 2 voices, and was last updated by  themeweaver 4 years ago.

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #3593

    Max CM
    Member
    Post count: 21

    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,
    Max

    #3599

    themeweaver
    Keymaster
    Post count: 730

    Have 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!!

    #3601

    Max CM
    Member
    Post count: 21

    What 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.

    #3604

    themeweaver
    Keymaster
    Post count: 730

    Doesn’t the show posts widget have an option to no display titles?

    #3606

    Max CM
    Member
    Post count: 21

    I’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…

    #3607

    Max CM
    Member
    Post count: 21

    I 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

    #3608

    Max CM
    Member
    Post count: 21

    No, 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 !

    #3609

    themeweaver
    Keymaster
    Post count: 730

    Ok 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;
    }

    #3610

    Max CM
    Member
    Post count: 21

    That’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

    #3611

    themeweaver
    Keymaster
    Post count: 730

    No, 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.

    #3612

    Max CM
    Member
    Post count: 21

    Thanks 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 !

    #3617

    themeweaver
    Keymaster
    Post count: 730

    Do you have the url of the static homepage? Or is it the current homepage?

    #3620

    Max CM
    Member
    Post count: 21

    Yes, it is the current homepage…

    #3622

    themeweaver
    Keymaster
    Post count: 730

    Ok, so to hide post titles on your home page:

    .home .post h1.entry-title {display:none;}

    #3623

    Max CM
    Member
    Post count: 21

    That’s just perfect ! Exactly what I needed…!
    And it makes me understand better how it works.

    Thanks a lot again ! Resolved ! 😉

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.