CSS not working?

  • Unknown's avatar

    hello,
    I would like to force my site not to show some information on the home page.
    I´m sharing the blog posts, but I wish I had only the preview image on the site, without date, categories and text. Didn´t find a way in admin to just turn it off, so I tried to force the web with CSS, but it´s not working. I used this code:
    .one-fourth-col:nth-of-type(4n+1), .one-third-col:nth-of-type(3n+1), .half-col:nth-of-type(2n+1) {
     clear: both; 
     visibility: hidden;
    }

    What is wrong with it? (I tried some other codes for many other customizations but nothing works)
    Thanks

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there,

    So if I understand, you want to display only the preview image and the title?

    To hide all the information under the images preview, you can try this CSS code

    .home div.entry-content-container
    {
    display: none;
    }

    It will not display the date, category or text on the home page. You will just have the preview image and the title.

    I hope it will help :)

    Florent

  • The topic ‘CSS not working?’ is closed to new replies.