The Style : homepage showing only one category ?
-
Hello,
I have slightly modified the original “The Style” theme through CSS to get the GUI I wanted for my blog (http://www.nineteensomething.fr)
But I want to do a last single change. If it’s possible.I would like that my homepage shows only the articles classed in the category “News” and not all articles as is the case now : http://www.nineteensomething.fr
Is it possible in one way or another?
If so, how to do ?Thank you for reading (sorry for incorrect english — I’m french —, I hope you’ve understood my request).
Bye
FrankThe blog I need help with is: (visible only to logged in users)
-
Hi frankviolence,
I found the following code block in a quick search, which you could add to the CSS editor:
.home article { display: none; } .home article.category-news { display: block; }You’ll have to change ‘category-news’ to the category slug that you’ll want displayed on your front page.
Please feel free to post back if you need any further help on this!
-
Hi Valentine,
Thank you for your response.
I try to add the code to the CSS editor, but unfortunately it doesn’ change anything. My homepage still shows all the articles of the blog.Any other trick ?
Thank you by advance -
As a premium theme, TheStyle has its own forum – feel free to post your question there for the theme developer:
-
- The topic ‘The Style : homepage showing only one category ?’ is closed to new replies.