Jump to content

Archived

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

atcdomainsolutions

Overwriting Current Template With New Design and Then Issues...

Recommended Posts

atcdomainsolutions+    63
atcdomainsolutions

I have been at it for 13+ hours so far (thank God I work at home) but anyway, I am working on a site for a new client.  Was building different templates for different pages, etc etc.  This is probably the 5th site I have built with DMS so far and loving it.

 

Seems today (and this could be my brain is just fried...haha) but, for example...I have a template I created. Looked at it an hour later and hated it so when in, made changes, background, etc.  I was working on the home/landing page and wanted to have some cool scroll effects where the background is one image and and then sections of info/color, etc.  Ok, no problem there.  Got it to work and love it.  Now (this is a Woocommerce site)...when I go to a product page (single product view page), the background was appearing over the entire page.

 

No biggie...I went in to the settings for THAT page, changed the section background to white (base color of the site), hit Publish, refreshed it and it's right.  The main content area where the Post Loop section sits is now showing a white background, text and product image shows up, etc etc.  

 

Now the issue.  Since this page has a different layout and feel from the home page, I wanted to overwrite the page with the new settings I just applied (also added two widgetized areas I created with social media, etc with Custom Sidebars).  I hit "Actions" and then "Update Current Template, blah blah".

 

It does its thing and saves.  I then hit "Load Template" (the SAME template name I JUST overwrote with the new settings) and when it reloads, it has removed my white background I set in the LOCAL section area and it removes what I added in the widget area (even though it KEEPS the Widgetizer there, with the message "Configure this Section"...as if I hadn't done that.

 

Soooo...I go back, change again the things I just updated...repeat the steps above.  I make sure I hit Publish...screen refreshes and everything looks great. When I go and try to load that template again, it should reload with what I just saved, correct??

 

For some reason, it doesn't appear to be saving but other pages do so it got me to thinking...is this just something with the Woocommerce pages and they are interfering with what I'm doing as far as saving my local settings?  The only thing that is Global on any other pages is the background image that I was using for the purpose of having the cool Home page effect.

 

I did this same type of effect on my Blog and it works.  The home page has a background image for the entire area but when you click on one of my blog posts, the background stays black.  It doesn't strip away the black text area background and reveal the burnt orange wallpaper I chose (http://jbodyfit.com/blog).

 

I have since changed the Home page of this clients site I'm working on on my subdomain since it was causing the product pages to be unreadable.  

 

Anyone have this issue???  Better yet, anyone need an aspirin after reading all of that!????

 

(Geez...felt like therapy typing all that out!!  :phew:

Share this post


Link to post
Share on other sites
atcdomainsolutions+    63
atcdomainsolutions

To add, the ONLY "fix" I thought of was taking my home page and just have the header, footer and then one Wide Section area in the middle, adding the colored background I want to use and then add a bunch of sections inside that one MASTER section, making the "inside" sections that will hold all my junk have transparent backgrounds and still get the scroll effect over the colored background...since each section will be transparent.  That way, I can save that template for the Home page and not mess with any Global Background image settings (like I have been doing) but I know there has to be a different way...haha.

 

James

Share this post


Link to post
Share on other sites
atcdomainsolutions+    63
atcdomainsolutions

That idea I typed after my initial post won't work...duh!

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

HI,

 

I don't actually understand your issue, so I apologise before hand but could you just create a new template for your specific pages, instead of updating the current page.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
atcdomainsolutions+    63
atcdomainsolutions

Ninja

 

That's what I was doing but after going back, I saw two section tabs on a section and that made me think maybe that was it. I didn't see anything in the Docs but I already knew about Global and Local tabs but had never seen this ("Section Options - TYPE".......Screenshot attached)

 

I went and updated BOTH areas with the same settings (same uploaded background image, etc) and that is when it finally seem to keep my changes and not remove them with global defaults...even though the section areas are not in the global area. Can you explain this "Section Options - TYPE" further or point me to the docs where it's located?  Have no problem reading up on it but I couldn't find it.

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

As far as I am aware, Type is related to the Post Type.

For example, WooCommerce uses Custom Post Types, so editing a Type tab on a WooCommerce page, should edit the posts types used by WooCommerce, but wont effect your Posts type if that makes sense lol.

 

Editing your Posts template Type tab will only effect your Posts templates and not WooCommerce. Its actually quite difficult to explain but hopefully you understand what I wrote :D


Please search our forums, before posting!

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
    • kwaoru
      By kwaoru
      Hi,
      I desperately need to deactivate the responsive function on mobile for reasons. It looks so messy with the responsive look on mobile and not navigating or informative at all as it is. 
      I searched for solutions online and tries some of those that I found but nothing worked out. Also I found a previous post on this forum says that this theme pagelines DMS is not meant to be build to deactivate the responsive function... 
      Also tried with widget such as WPtouch to edit the mobile look a little more informative but as I am using "single page" theme on pagelines, the frontpage(main page) never appears on those app.
      Seems like not compatible?
      If there is no way to deactivate responsive function or I'll have to recreate another page just dedicated for a mobile page? or change the theme completely and build a page from scratch?
      I have been searching for this for two days already...
      Could anyone wise and kind out there, please help me?
       
      Thanks,
×