Home › Forums › BeFit Theme Support › Remove Slider from all but front page
- This topic has 5 replies, 4 voices, and was last updated 8 years, 8 months ago by Sonl Sinha.
-
AuthorPosts
-
November 20, 2015 at 6:32 pm #14896
Hi there.
I just bought the BeFit theme, and it’s great, but I would like to know how I can remove the slider from most pages. I’d like it to be only on the front page of my site, and not on all the other pages. Can this be done?
November 23, 2015 at 12:36 pm #15073Hi,
Yes kindly go to Appearance>Theme Options>Homepage slider>drop down is there to disable slider from inner pages.
Regards,
ShriMarch 15, 2016 at 8:12 pm #26973The suggestion from Shri will remove the slider on most other pages. However, we have a front page that is a static page, with our blog on another page (called “news”). The home page slider and 4 boxes appear on both pages. To remove it from the “news” page, SKT support suggested using Dashboard > Appearance > Theme Options > Basic Settings > custom CSS and entering CSS to hide the home page slider and 4 boxes on the “news” page.
The CSS would be:
body.blog .slider-main, body.blog section#wrapone {
display:none;
}However, even though the CSS successfully hides 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.
March 16, 2016 at 7:42 am #27027Hi Gail,
I understood your issue and here is the reason behind that.
You are selecting the post page from setting>>reading>>post page and hence the slider and homepage boxes appears on post page. Instead of this we have a template for blog pages so that you don’t need to select post page from Setting>>Reading.
Kindly go to Setting>>Reading>>Select your latest posts
After that go to Pages>>News click on edit option. You will find the “Page Attributes” box in right hand side. There is a templates for blog page like Blog Left Sidebar, Right Sidebar..etc., select any one option and save the page.
Regards,
BradMarch 25, 2016 at 9:00 pm #28138Thanks for your reply.
I followed your directions. The home page slider, 4 boxes, and my own content for the “home” page did not appear on the “home” page.
I realized that we have a static page named “home”; this was our home page specified in Settings > Reading. The URL without a page name (directory “/”) correctly showed the SKT BeFit Home Page Slide and 4 boxes, but not the content of our static page “/home”. Our static page “/home” showed its content but not the SKT Home Page Slider or 4 boxes.I did the following:
- Removed my custom CSS that made the slider & 4 boxes “hidden”
- Copied the content of the static page named “home” and pasted it into Section 1 in Theme Options > Sections
- Edited our menu: item “Home” was pointing to page “home”; replaced that with “custom URL” menu item pointing to “/”.
Now it displays correctly. Thanks.
March 29, 2016 at 12:51 pm #28520Okay cool 🙂
Regards,
Brad -
AuthorPosts
- You must be logged in to reply to this topic.