Jump to content
Sign in to follow this  
eolic

Feature slider only on Home Page

Recommended Posts

eolic

Hi, I'm trying to use the Feature slider only in the front page. I did it adding it on the posts Page template section, but then, when I click on a category to show the list of posts on that category, or I do a search, I also have the slider. Then is it difficult to show that something happens below and I want to remove it, so showing it in the main home page only. Any idea? Thank you very much!

Share this post


Link to post
Share on other sites
ricardo

Hi Eolic! Maybe the option is using a page for the home page and leaving the posts page alone. Steps are: - create a page, call it "home" and choose Featured template from the available options; - go to Settings > Reading, choose a static page and select your previously created "home" as your choice; - go back to PlatformPro template setup and edit the Featured page to your liking; Ricardo

Share this post


Link to post
Share on other sites
eolic

Thank you Ricardo, I know what you say, but then I will not have the last posts like the Magazine style mode? I don't want a static page/text on the home page... Thanks a lot!

Share this post


Link to post
Share on other sites
Kate

Hi eolic, Then perhaps the best option is to just "hide" it with CSS on the other pages. So, the basic style would be something like this:

#feature{display:none;}
	.home #feature{display:block;}

Share this post


Link to post
Share on other sites
eolic

Thank you Kate, I will try, it will be ok. My problem is that I don't know how to call the other pages in CODE writing; for example the archive page, the search page, the category list of posts, etc. Is it just .category, .search? Thanks for your help

Share this post


Link to post
Share on other sites
timlinson

Right click the page and view the source. Look for the `` tag and you'll a list of class IDs you can use to target the page.. e.g. `.category-##`, `.page-##` etc.

Share this post


Link to post
Share on other sites
eolic

Ok, it works!! I added the custom CSS:

.category #feature{display:none;}
	.search #feature{display:none;}

Share this post


Link to post
Share on other sites
bnapoli
YES thank you! I've been looking for this forever.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×