Jump to content

Archived

This topic is now archived and is closed to further replies.

leftcoastmichael

Hiding / Disabling Sections on specific pages

Recommended Posts

leftcoastmichael+    4
leftcoastmichael

Hi. I've got a full-width slider on my pages. I'd like to 'not show' it on certain pages. I tried just removing it from a specific page, but that removed it from all pages.

Share this post


Link to post
Share on other sites
Rob    547
Rob

You're using Global settings to add it, and not local so that it would appear on one page only.  Remember this key point.  Global is site-wide, Local is one page at a time.

 

I'm going to do what I know you don't like, but I must, and remind you to read the docs.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
leftcoastmichael+    4
leftcoastmichael

Thanks Rob. I'm actually aware of global vs local (or, at least, I think I am!)  I've been adding sliders to local pages only, but DMS appears to be placing the sample slider data into the slider on every page. So for each page that I do not upload a slider image for, it simply shows the 3 sample sliders.  I probably missed something along the way...

 

Likewise, I'd like to do the same for items in the Header and Footer...

 

 

US13Sn6.jpg

Share this post


Link to post
Share on other sites
batman    389
batman

Hi leftcoastmichael

If I understand you 

You can use a simple CSS rules to don´t show for example the RevSlider on one page

 

So, something like

.page-id-12992 #header.header.pl-region {display: none}

 

If you also wish to know how I find the page ID, all you need to do is load up FireBug or Google Chromes web dev tool and inspect your page html, at the top you should see body which has a number of classes assigned to it, one of these is page-id-XX (replace XX with your pages id value. I have added a danny´s screenshot to assist you.

 

http://screencast.com/t/HOsjhjnUIYX 

  • Like 1

Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
thebastion    20
thebastion

leftcoastmichael anything you place in the header section will show on every page you make unless you do what batman says.

  • Like 1

Share this post


Link to post
Share on other sites
leftcoastmichael+    4
leftcoastmichael

Awesome batman"] and thanks @[member="thebastion

I just noticed, the answer to my own question is "don't put the the Full-with slider into the the Header".  Doh.

 

I'm assuming the same applies to the footer section?

Share this post


Link to post
Share on other sites
batman    389
batman

Hi again

Yes, you can apply to the footer section too.

;)

  • Like 1

Life is too short to remove USB safely ...

Share this post


Link to post
Share on other sites
Rob    547
Rob

Header and Footer sections are by default, global areas.  DMS or any system will presume you added something to the header or footer to be consistent.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

  • Similar Content

    • JawDesigns
      By JawDesigns
      Hi everyone,
      Flywheel have reported errors on my clients site 'www.racewaredirect.co.uk' and it's not loading. Can someone please provide some information on how to fix this? The site has never experienced these issues before.
      Thanks,
      James Wilson
    • MissT
      By MissT+
      Hi there,
      I've got an issue with 3 websites built with DMS since I migrated them from http to https that I need help with please.
      When any changes are made - e.g. new posts added or existing posts amended - certain sections of the live site seem to break e.g. image headers hang and don't load (b/g on canvas section), sliders hang and don't load (Revslider), flipper section doesn't load.
      Logging in and then clicking 'Edit the site using DMS' seems to fix the problem. Often if I try to open up another browser window to edit the site / re publish I'm unable to as the page wont load / hangs while trying to load.
      Any ideas how to fix this? On a couple of the sites I've installed a caching plugin as I thought it might be a loading speed issue but it's still happening.
      Website URL's can be provided privately.
      Many thanks in advance.
    • jeomiland
      By jeomiland+
      Hi
      I found this topic
      which talks about a similar issue I am having, but a little different. Hope someone can help me out.
      Best way to see the problem is to view http://cassclayton.com/ on Safari (Mac) compared to Firefox or Chrome. You will see the banner just under the fixed menubar has a gap between the menubar and top of the banner. Looking at Inspector, I found:
      <div class="fixed-top-pusher" style="height: 62px;"></div>
      <script> jQuery('.fixed-top-pusher').height( jQuery('.pl-fixed-top').height() ) </script>
      and indeed it seems the jquery is not always working consistently. For instance, if you simply refresh the page in Safari, it will loose the gap and all looks fine, so is it a browser cache issue that is interacting with the jquery? I do have W3 Total Cache installed. There must be a way to tell the code to make sure jquery is up and running and available to do it's majic?
      And perhaps there is just a better way to do this banner? Originally I tried several DMS sections and used the banner image as background, etc... Kept running into problems with resizing and the left/right parts of the image were getting chopped off. It is important the whole image show, so currently I just use a NextBox section with this code:
      <img src="[pl_site_url]/wp-content/uploads/2015/12/CassClayton-blues-tribute-banner.jpg" width="100%" />
      and it looks the way it should. Is there a better way to place a banner graphic under a fixed navbar and make sure the whole banner graphic displays regardless of screensize?
       
    • oseehys
      By oseehys+
      Hello There,
      So i want to use platform 5 and DMS sections on a single page, i am using a child theme with pinspro as my main theme and i activated platform 5, the only problem am having so far is the fixed option, my navbars are not aligning to their default size, and it will be great if platform 5 header and footer section will function, has anyone used this option, how can i make the best use of platform 5 and DMS on a site
      Cheers
×