- This topic has 12 replies, 2 voices, and was last updated 11 years, 2 months ago by Sakin.
-
AuthorPosts
-
September 3, 2013 at 8:42 pm #14067TeedokMember
Hi,
i would like to disable featured post slider in one or two pages and have there just static image or none.
how to do that?
many thanks! 🙂
September 3, 2013 at 8:43 pm #14068TeedokMemberwebsite: http://www.jezevecrace.com
September 3, 2013 at 11:11 pm #14079SakinKeymaster@Teedok: You can hide it for those pages thorough css. Send me the pages for which you have to hide it then I will send you the custom css.
September 4, 2013 at 12:58 am #14090TeedokMemberAwesome, your the best!
All except the main page.
Thank you so much!
September 4, 2013 at 1:07 am #14091SakinKeymaster@Teedok: Then you can add the following CSS in “Appearance => Theme Options => Custom CSS” box to hide the slider in main page.
.home #main-slider { display: none; }
September 4, 2013 at 1:22 am #14094TeedokMemberok, and if would like to disable at some other page, then just put name of page – like
.informace-k-zavodu #main-slider {display: none;}
and please, one last queastion, but its OT. I want 2 pages under the one in menu(registrace -> there you can choose from 2 pages) but it doesnt work for me. I created them, put they are under but they dont show, where is a problem?
Thanks again
September 4, 2013 at 2:23 am #14099TeedokMemberSo stupid mistake, got the secon question with the menu..
But, the slider, still have no idea how to disable on some else page, doesnt work anythink…
September 4, 2013 at 7:51 pm #14111SakinKeymaster@Teedok: For pages you can take page id and for post you can take post ID. For example the page “Informace k závodu” Id is 2 so it will be as below:
.page-id-2 #main-slider { display: none; }
September 4, 2013 at 8:06 pm #14114TeedokMemberWorks just great, thank you again.
Fast and good answers, keep doing this! 🙂
September 5, 2013 at 1:30 am #14130TeedokMemberLast think i hope. Nooby question, just can find the right code, how can i change the space between paragrapfs? i mean when i writing somethink to page and press enter, the distance between first and second line is really big. how to get it smaller?
September 5, 2013 at 2:11 am #14134SakinKeymaster@Teedok: You can add the following CSS.
@media screen and (min-width: 960px) { p { margin-bottom: 20px; } }
September 8, 2013 at 1:22 am #14246TeedokMemberI typed
.page #main-slider {display: none;}
it worked on all pages and its uder pages, but i wanted that even on spposts…actualy i wont fetured slider only on homepage..post #main-slider {display: none;}
this doesnt work and it doesnt work even wiht ID of some post
.post-id-242 #main-slider { display: none; }
where is the catch?
September 8, 2013 at 10:59 pm #14260 -
AuthorPosts
- The topic ‘Disable featured post slider at some pages’ is closed to new replies.