Tagged: , , ,

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #14067
    Teedok
    Member

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

    #14068
    Teedok
    Member
    #14079
    Sakin
    Keymaster

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

    #14090
    Teedok
    Member

    Awesome, your the best!

    All except the main page.

    Thank you so much!

    #14091
    Sakin
    Keymaster

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

    #14094
    Teedok
    Member

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

    #14099
    Teedok
    Member

    So 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…

    #14111
    Sakin
    Keymaster

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

    #14114
    Teedok
    Member

    Works just great, thank you again.

    Fast and good answers, keep doing this! 🙂

    #14130
    Teedok
    Member

    Last 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?

    #14134
    Sakin
    Keymaster

    @Teedok: You can add the following CSS.
    @media screen and (min-width: 960px) { p { margin-bottom: 20px; } }

    #14246
    Teedok
    Member

    I 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?

    #14260
    Sakin
    Keymaster

    @Teedok: If you want featured slider only on homepage then you don’t need to add any CSS. You can choose “Homepage / Frontpage” from “Appearance => Theme Options => Featured Post Slider => Slider Options”.

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Disable featured post slider at some pages’ is closed to new replies.