Modified Theme Issues
Permalink
I've got few items on a single website that I need help with.
1. Mobile Nav Not Working
I'm working on a website based on a Concrete5 theme that was modified. Here is the original theme that works as expected:
http://structura.c5mix.com/
When you go down to the mobile view, the main menu collapse and all you see is "Menu"
Click/Tap "Menu", then "About" and everything works fine.
On my site:
http://www.westhartfordfence.com/newsite/...
When you get down to the mobile view you can tap on "Menu" but you can't dive any deeper. Tap on "Fence & Gates" does nothing. Tap on "FAQ" and that will work because you're not diving into the navigation tree anymore, you're actually going to the FAQ page.
2. "Menu" is almost off the screen. This was in the right place and then (seemingly) all of a sudden it was off screen. Is this just a CSS adjustment?
3. Home Page Slider Not Working
The slider on the home page has 4 images. They are all stacked on top of each other. This is obviously not how it's supposed to work. When I am logged into the CMS, the slider works perfectly. I've published the page numerous times so that's not the issue.
4. In addition to #3 above, I have several pages where the pages look dine when I am logged in but they are missing content when I am logged out. See the attached screenshots.
Any help would be greatly appreciated.
1. Mobile Nav Not Working
I'm working on a website based on a Concrete5 theme that was modified. Here is the original theme that works as expected:
http://structura.c5mix.com/
When you go down to the mobile view, the main menu collapse and all you see is "Menu"
Click/Tap "Menu", then "About" and everything works fine.
On my site:
http://www.westhartfordfence.com/newsite/...
When you get down to the mobile view you can tap on "Menu" but you can't dive any deeper. Tap on "Fence & Gates" does nothing. Tap on "FAQ" and that will work because you're not diving into the navigation tree anymore, you're actually going to the FAQ page.
2. "Menu" is almost off the screen. This was in the right place and then (seemingly) all of a sudden it was off screen. Is this just a CSS adjustment?
3. Home Page Slider Not Working
The slider on the home page has 4 images. They are all stacked on top of each other. This is obviously not how it's supposed to work. When I am logged into the CMS, the slider works perfectly. I've published the page numerous times so that's not the issue.
4. In addition to #3 above, I have several pages where the pages look dine when I am logged in but they are missing content when I am logged out. See the attached screenshots.
Any help would be greatly appreciated.
Just to add to what mnakalay said, check to see if your theme has you overriding the header_required.php file or if perhaps the site you're working on previously had this overridden. If it is, then you'll see it in the root /elements/ folder. If you want, attach that file if there is one as well as the core file under /concrete/elements/.
Thanks for the replies. I've fixed #s 3&4. I followed the advice on this post:
http://www.concrete5.org/documentation/how-tos/developers/five-easy...
#1 Don't use jQuery? Don't load it!
Once I removed this "fix", those issues disappeared.
Now on to #s 1&2.
http://www.concrete5.org/documentation/how-tos/developers/five-easy...
#1 Don't use jQuery? Don't load it!
Once I removed this "fix", those issues disappeared.
Now on to #s 1&2.
#2 seems fine now.
You're right. One to go.
ok I found what was responsible for #1
In your base.css file, at line 2566 you have commented out
You have to un-comment it and everything will work
In your base.css file, at line 2566 you have commented out
position: relative;
You have to un-comment it and everything will work
Thank you.
Thank you.
Thank you :)
Thank you.
Thank you :)
Nothing is working because Jquery is not loaded.
Normally Concrete5 loads Jquery automatically on every page but in your case it doesn't. Actually none of C5 usual files is loaded, ccm.base.js and ccm.base.css are also missing.
The only reason I can think of is that your file ROOT/concrete/elements/header_required.php was modified around line 87 to not load those files if not logged in. It's a common hack to avoid loading Jquery if not needed.
In your case however it is needed.