Home › Forums › SKT Biz/Corp Theme Support › Remove slider from pages
- This topic has 9 replies, 5 voices, and was last updated 8 years, 8 months ago by Gail.
-
AuthorPosts
-
September 27, 2015 at 7:57 pm #11792
How do I remove the slider from all pages and posts? I only want it to appear on the home page.
September 28, 2015 at 8:17 am #11805Hi,
Go to Appearance>Customize>Slider settings>There is a checkbox. Hide slider in inner pages.
Check it and save and publish.
Regards,
ShriDecember 3, 2015 at 8:57 am #15819there is no slider settings in customize and despite the fact that i made it on “hide” in the theme properties it still appears on the news page which i made for the blog
http://www.cakegiggles.com/?page_id=12
please advice
December 3, 2015 at 10:15 am #15823Very strange. Can you email us: [email protected] your WordPress admin details?
We will check and resolve this issue.
Regards,
ShriDecember 15, 2015 at 7:39 am #16659This is solved.
Regards,
ShriMarch 7, 2016 at 10:21 pm #25902I am trying to remove the slider off the site completely including the homepage. I tried using a one pixel high gif and it was working initially but it is no longer working.
the site is http://yoursecondchancestore.com/
March 7, 2016 at 11:02 pm #25905I have the same problem as Hossam Samir: “despite the fact that i made it on “hide” in the theme properties it still appears on the news page which i made for the blog”. I will email you our site admin details.
March 8, 2016 at 7:53 am #25959@matthew dill: Kindly add this in appearance>theme options>layout settings>custom CSS box:
#home_slider{display:none;}
Regards,
ShriMarch 8, 2016 at 7:54 am #25960@Gail: Okay once we get the details we will check it out what’s wrong.
Regards,
ShriMarch 9, 2016 at 5:59 pm #26205(Sorry if this is off-topic; I just realized that the original post is about the SKT Biz/Corp theme. We have SKT BeFiT PRO theme.)
add this in […] custom CSS box:
#home_slider{display:none;}
There are a couple of problems with this:
- The selector is incorrect. The HTML is:
<div class="slider-main"> <div id="slider" class="nivoSlider"> <img src="..." />
So the correct selector would be
.slider-main
. - This is still not correct: it hides the slider not only on the blog (posts) page but also on the home page! To select only the <b>posts</b> page, you need to add an ancestor to the selector:
body.blog .slider-main
. - On the posts page, I want to hide <b>all</b> home-page items; this includes the four boxes, whose HTML begins with
<section id="wrapone" class="menu_page featuresbg">
. So I would need to add an alternate selector:body.blog .slider-main, body.blog section#wrapone
. - Even if the CSS successfully hide these items, I believe that the browser will still fetch the images and execute the JavaScript. (I could be wrong on this.) This adds an unnecessary burden to both the web server and browser. The PHP should really not generate the objects in the first place.
- The selector is incorrect. The HTML is:
-
AuthorPosts
- The topic ‘Remove slider from pages’ is closed to new replies.