[Locked] Nexio template - custom style preset - Forum | JoomShaper
Solved Templates Locked

Nexio template - custom style preset

Asked by Peter Dowse 6 months ago Last activity 4 months ago

I'm using the Nexio template... in the Template Manager under Custom Style I've made my hover/active text colour red for my menu items but they're not displaying as red... any ideas?

Accepted answer

Marked as the solution
Paul Frankowski Senior Staff

extra class name made that problem, and indeed, template develpers didn't check it.

Sometimes one extra word can make a big difference. Happends, also in live.


After all you got ready to use code. Please mark topic as solved, and have a nice day.

5 more replies

Paul Frankowski Senior Staff
6 months ago · edited

Hi Peter,

The template.css file also uses an extra class name, which, for the browser, is "stronger" than the override from Custom Style Preset settings. In that case, don't waste time, and just use a simple Custom CSS to set RED color

.fixed-menu #sp-header #sp-menu .sp-megamenu-wrapper .sp-megamenu-parent .sp-menu-item.active > a, 
.fixed-menu #sp-header #sp-menu .sp-megamenu-wrapper .sp-megamenu-parent .sp-menu-item:hover > a, 
.fixed-menu #sp-header #sp-menu .sp-megamenu-wrapper .sp-megamenu-parent .sp-menu-item:focus > a, 
.case-studies-page.view-dynamic #sp-header #sp-menu .sp-megamenu-wrapper .sp-megamenu-parent .sp-menu-item.active > a, 
.case-studies-page.view-dynamic #sp-header #sp-menu .sp-megamenu-wrapper .sp-megamenu-parent .sp-menu-item:hover > a,
.case-studies-page.view-dynamic #sp-header #sp-menu .sp-megamenu-wrapper .sp-megamenu-parent .sp-menu-item:focus > a 
{color: red; }
Peter Dowse Asked this

I get that we can do overrides in custom.css - I guess my question is more, why do you bother having these options in the template manager if you're just going to override them with template.css.

This makes no sense.
We're fine, becuase we're developers and know how to do this, but it makes it very confusing for our clients.
Why would you guys build in this wonderful facility into your templates, only to override them with template.css forcing people to then require the use of custom.css to make a colour change that should be facilitated via changes in the template manager?

Seems very backwards to me.

Peter Dowse Asked this

I get that - but this happens all the time, across multiple templates.

Seems you guys have these great features that allow customers to make changes via the template manager, only to discover these don't work because the template developers aren't doing their job properly or checking their work.

If this feedback could be passed onto them, that would be great.

Paul Frankowski Senior Staff

Ok, I will.

Preamble

I will 2nd what Peter is saying

This question is locked, so it takes no new replies. Have a similar problem? Ask a new question.