I have now added the webslidemenu.css from its file and added it as a layout and added that to the head as critical styles. The layout incorporates the SD php css minification.
I had to add the following to it.
I thought that now actinic.css could be asynchronous but page loading did not exercise correctly.
I tried straight loading of actinic.css in the SubBodyCode but issues again!
So back to the Head Code. Just experimenting!
I had to add the following to it.
Code:
header+span.full-width{
background-color: <actinic:variable name="megaMenuBGColor" />;
-webkit-transition: all 0.1s ease 0s;
-moz-transition: all 0.1s ease 0s;
transition: all 0.1s ease 0s;
}
header+div+span.full-width.isStuck {
border: none;
background-color: <actinic:variable name="PaletteBG" />;
background-image: linear-gradient(141deg, <actinic:variable name="PaletteBG" /> 5%, #22536b 53%, <actinic:variable name="PaletteBG" /> 77%);
}
header+span.full-width .wsdownmenu, header+span.full-width .wsdownmenu-list > li > a, header+span.full-width .wsdownmenu-list > li a.header-sub-link, header+div+span.full-width .wsdownmenu, header+div+span.full-width .wsdownmenu-list > li > a, .page-list li a{
background-color: transparent !important;
color: #fff;
font-weight: 600;
text-transform: capitalize;
text-align: left;
}
header+span.full-width .wsdownmenu-list > li > a:hover{
color: inherit;
}
header+div+span.full-width .wsdownmenu-list > li > a:hover {
color: inherit;
}
I tried straight loading of actinic.css in the SubBodyCode but issues again!
So back to the Head Code. Just experimenting!
Comment