• Resolved shamelessnerd

    (@shamelessnerd)


    I put the slider in the content container so that it could be in line with my right hand side bar. I would like for it to ONLY show up on the main HOME page, but it is showing up on all of the blog pages as you click through the pagination. Is there any way for me to restrict it to just the home page? I saw a couple of articles concerning something similar, but they all had programming that didn’t apply to mine as their placement was in the header section. Thanks for your time.

    link

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there shamelessnerd,

    How are you doing today?

    This should be possible with some custom CSS. I’ve checked your site and your other pages on home page (2nd and etc) are getting paged class in the body which we can use to target them only with CSS and hide the slider only there.

    Since Customizr has its own custom CSS tab which is located in Appearance -> Customize -> Advanced Options -> Custom CSS you can try adding the following code there:

    .home.paged div#customizr-slider {
      display: none;
    }

    This should remove the slider on home page on all pages aside from first.

    Hope this helps ??

    Cheers,
    Bojan

    Thread Starter shamelessnerd

    (@shamelessnerd)

    YES! That solved the issue! You are great! I appreciate the help SO much!

    Happy to help ??

    Cheers,
    Bojan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to limit slider to homepage only, instead of all blog pages?’ is closed to new replies.