Jump to content
JasonLA

masthead in header of homepage only?

Recommended Posts

JasonLA+    2
JasonLA

Hey guys, 

I am trying to get a masthead to only appear on the homepage of my site. While using DMS, I try to do local section options it works fine, but it's still posting to every other page as well. 

 

Any ideas on how to disable it from showing on all the other pages?

Thanks!
Jason

 

www.zox.la

Share this post


Link to post
Share on other sites
navigador+    6
navigador

Hey guys, 

I am trying to get a masthead to only appear on the homepage of my site. While using DMS, I try to do local section options it works fine, but it's still posting to every other page as well. 

 

Any ideas on how to disable it from showing on all the other pages?

Thanks!
Jason

 

www.zox.la

 

You could try creating a template based on the home page and use that template just for the home page, whilst using the default or another one for all others. You can also assign these templates to individual pages from WP backend.

Share this post


Link to post
Share on other sites
JasonLA+    2
JasonLA

Thanks Navigador, the issue I'm having though is that a masthead in the header doesn't seem to want to stick with a template even after I save it if I go and delete it on another page. Saving templates has not done anything for me so far, and I don't see where I can assign mastheads to templates like the old drag and drop Pagelines system had. Any ideas? 

Share this post


Link to post
Share on other sites
Rob    547
Rob

Thanks Steve, for your contribution.

 

Jason,  adding any section to the Header or Footer are, by nature, global elements. Have you considered just adding the Masthead below the header as the first element under it on a static homepage, and creating a custom template for that page?

 

That would be the easiest method.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
clodis    7
clodis

Of course the current state DMS still has many shortcomings, perhaps we needed to wait to run it, we hope to get quick updates on all functions.

  • Like 1

Share this post


Link to post
Share on other sites
Rob    547
Rob

Clodis,  I agree. Some testing by and site developer before full implementation would be in order.  Just to learn how things go.  Most of the problems stem from people pushing buttons and ringing bells without reading the manual.  Unfortunately, we can't change the nature of a header to be localized as requested.

 

One could emulate a masthead using a sidebar with text widget in the header, and applying Widget Logic to tell the text widget where to appear. But the best method is the one I described above. Top item, just below the header.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • 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
    • StuLeeUK
      By StuLeeUK+
      Good morning,
      I have set up my homepage using the Elements sections, a Masthead at the top and then a selection of Heroes lower down.
      I only just realised that the Heroes set a H1, as does the Masthead.
      Is there an easy way I can change the Heroes to an H2/H3 etc so as to improve the structure of my headers, whilst keeping the Masthead as H1?
      I really don't know much at all about CSS, which is why I use Pagelines because it's just so easy to create good looking pages without too much confusion.
       
      page for reference is https://www.avangocouriers.co.uk
      Thanks,
      Stu
×