Header Settings not working

Permalink Browser Info Environment
Hi there, this is the second site I have built using Modena but I am having a few problems this time. The main one is the Header Settings in the Dashboard - I went in to turn off the Search when I first installed the theme and after that it hasn't worked - where it says
'Header options
Fixed position header
Make the site header stay at the top of the screen when the page is scrolled.' it turned from on (green) to off (grey) and however many times I try to turn it back on and save the settings (and it says the settings have been saved) it turns off again. Not only that but the mobile responsive navigation doesn't work at all (the icon doesn't appear) but the desktop nav is working perfectly. Do you have any ideas?

Thanks so much, Lucy

Type: Pre-Sale
Status: Resolved
ppisoban
View Replies:
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Lucy,

Thanks a lot for your purchase, it's much appreciated.

We have just become aware of this bug ourselves and we are currently working on a fix, I can offer you a temporary workaround if you would like? otherwise we hope to have a fix within the next couple of days, if it's not mission-critical.

Very sorry for any inconvenience caused.

Best regards

David
ppisoban replied on at Permalink Reply
ppisoban
Thanks for your quick reply!

Yes it is quite important to get this sorted asap so a temporary workaround would be great, thank you!
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Lucy,

As discussed earlier please find below a patch for the Modena theme and instructions on how to use it:

1/ Click on the "Cog" icon on the top left of the concrete5 admin bar, from the menu select "Design" and then click "Customize" on the blue overlay.

2/ From the customize options scroll all the way to the bottom until you see the "Advanced" section, under that click on the "Cog" icon that is next to the words "Custom CSS" in the CSS window that appears paste in the following CSS code:

.primary-header {
position: fixed !important;
z-index: 100;
}

.ccm-page .primary-header, .ccm-page .primary-header--search, .ccm-page .primary-header__logo h1 img, .ccm-page .mobile-nav-toggle, .hero-unit__spacer, .ccm-page .ccm-responsive-navigation {
height: 100px;
}

.ccm-page .primary-header__h1, .ccm-page .desktop-nav .nav-item, .ccm-page .desktop-nav .nav li, .ccm-page .primary-header__logo h1 img, .ccm-page .ccm-responsive-navigation ul li {
line-height: 100px;
}

.ccm-page .primary-header--resized, .ccm-page .primary-header--resized .ccm-responsive-navigation {
height: 70px;
}

.ccm-page .primary-header--resized .desktop-nav .nav-item, .ccm-page .primary-header--resized .primary-header--search, .ccm-page .primary-header--resized .primary-header, .ccm-page .primary-header--resized .primary-header__logo h1 img, .ccm-page .primary-header--resized .primary-header__h1, .ccm-page .primary-header--resized .primary-header__logo-image, .ccm-page .primary-header--resized .mobile-nav-toggle, .ccm-page .primary-header--resized .utility-bar-toggle, .ccm-page .primary-header--resized .ccm-responsive-navigation ul li {
height: 70px;
line-height: 70px;
}

3/ Click on "save changes" then click on "Entire site" and publish your page.

This will get you the fixed header back again, unfortunately, we cannot restore the functionality of the header resizing and gaining a different background, as its scrolled, we appreciate that this not ideal but it does get you a useable header back again until we can issue the update with the fully functioning fix in.

I would like to offer my most sincere apologies, and as some way of compensating you, we would like to offer you a free Modena license, for use on your next site, as soon as we issue the update I will send you a license via Concrete5.

Again sorry for the inconvenience.

Best regards

David
ppisoban replied on at Permalink Reply
ppisoban
That's great David, it worked perfectly! Just let me know when you have the update, but this is fine until then. And thanks so much for your kind offer! Your theme is very good indeed. I always used to use my own themes but you have so much functionality built into yours it just seems easier to use it instead!
ppisoban replied on at Permalink Reply
ppisoban
Hi again David

Slight problem - because the header doesn't resize as you start scrolling down the page it obscures half the screen on a mobile phone. I could probably figure this out but as you know your code better than me you might have another workaround for this?

Thanks

Lucy
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Lucy,

I think this might help, if you follow steps 1 & 2 from yesterday, in the CSS editor paste this bit of code under what you already have:

@media (max-width: 48em) {
.ccm-page .primary-header, .ccm-page .primary-header--search, .ccm-page .primary-header__logo h1 img, .ccm-page .mobile-nav-toggle, .hero-unit__spacer, .ccm-page .ccm-responsive-navigation {
height: 70px;
}

.ccm-page .primary-header__h1, .ccm-page .desktop-nav .nav-item, .ccm-page .desktop-nav .nav li, .ccm-page .primary-header__logo h1 img, .ccm-page .ccm-responsive-navigation ul li {
line-height: 70px;
}
}

Where it says "height: 70px;" and "line-height: 70px;" just adjust the "70px" to the height that suits your site.

I am currently working on the update and I am hoping it will be available tomorrow afternoon at the latest. again very sorry for this, its a very unusual bug, as it's only affecting that one settings page and all other pages using exactly the same code are all working fine, it's taking some tracking down. Thank you for your patience and understanding its much appreciated.

Best regards

David
ppisoban replied on at Permalink Reply
ppisoban
Thank you yet again, that worked perfectly. Sorry to take up your bug finding time. Normally I wouldn't have been in a rush but we are hoping to get this site live tomorrow!

Must go off and write you a review while I'm thinking about it....
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Lucy,

That's no problem, glad it helped.

Thank you so much for the sparkling review, its good to hear you are enjoying using Modena, (despite the annoying bug :( )

Best regards

David
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Lucy,

I have just submitted the update to Modena, that gets rid of this bug, I hope it will appear as an update for you soon.

When you have installed the update please go to the "Custom CSS" section again and make sure to delete all the temporary fix CSS I gave as it will more than likely cause issues once the update is installed.

Also, as you have encountered this bug you will have to go to the "Header Settings" page and reset all the options you want, only this time when you hit save they should behave themselves.

Again very sorry about all this, and thanks so much for your patience while I got this fixed.

As promised I will send you over a complimentary copy of Modena as soon as I am sure the update has been rolled out by Concrete5.

Enjoy your weekend.

Best regards

David
ppisoban replied on at Permalink Reply
ppisoban
Hi again David

I have just installed the update but I am having the problem again with the mobile responsive navigation not appearing (no icon). Any thoughts?

Kind regards

Lucy
ppisoban replied on at Permalink Reply
ppisoban
Hi again

Sorry I've fixed it; although I had cleared the cache I actually had to go in and manually update all the settings in the header area and that seems to have sorted it out, looks great now, thanks so much!

All the best

Lucy
VidalThemes replied on at Permalink Reply
VidalThemes
Hi Lucy,

Glad to hear you got it sorted.

Best regards

David
KeinoOy replied on at Permalink Reply
KeinoOy
Hi,

I'm having the same problem and it's really an issue that the background of the menu stays transparent when scrolled. What code can I use that the navigation stays relative/put/is not in fixed position, but stays transparent on top?
VidalThemes replied on at Permalink Reply
VidalThemes
Hi there

This issue is fixed in update 1.0.1 please update your Modena install, go to "Dashbaord > Extend Concrete5" and the update will be there.

Best regards

David
KeinoOy replied on at Permalink Reply
KeinoOy
Everything works now, thank you!

concrete5 Environment Information

# concrete5 Version
Core Version - 8.5.1
Version Installed - 8.5.1
Database Version - 20190301133300

# concrete5 Packages
ExchangeCore reCAPTCHA (1.1.1), Location Map (1.0.11), Modena Theme (0.9.7), Spacer (0.9.4)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
LiteSpeed

# Server API
litespeed

# PHP Version
7.3.10

# PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, i360, iconv, imap, json, libxml, litespeed, mbstring, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, timezonedb, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 120
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 360
max_input_vars - 8000
memory_limit - 256M
post_max_size - 512M
upload_max_filesize - 512M
mbstring.regex_stack_limit - 100000
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200

Browser User-Agent String

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.