Hi everyone,
I am relatively new to HMTL5 output (and WebHelp) and have been working on projects using HTML5 skins (not tripane).
I would like to change the >> to something else and was wondering if this is possible (and where?).
I had a look at the HTML skin editor without success.
Thank you in advance for any help.
TopNav skin menu customisation
-
- Sr. Propeller Head
- Posts: 225
- Joined: Wed Aug 08, 2007 3:04 am
- Location: In a galaxy far, far away
TopNav skin menu customisation
You do not have the required permissions to view the files attached to this post.
Marie-Claire
Flare 2019 r2 - Windows 10 Pro - HTML5 help / "clean" XHTML output
Flare 2019 r2 - Windows 10 Pro - HTML5 help / "clean" XHTML output
-
- Propellus Maximus
- Posts: 810
- Joined: Wed Jul 25, 2012 11:36 am
- Location: Ann Arbor, MI
Re: TopNav skin menu customisation
Try adding this to your CSS and change the content value as desired:
If you want to use an image, replace "\BB" (including quotes) with url(../Images/image.jpg).
The chevron comes from the foundation.5.5.0.css file in the Output folder (...\Output\HTML5\Skins\Fluid\Stylesheets). Usually, your main CSS overrides it, but you may need to add the !important rule:
content: url(../Images/image.jpg) !important;
Code: Select all
.right-off-canvas-menu ul.off-canvas-list li.has-submenu > a:after, .left-off-canvas-menu ul.off-canvas-list li.has-submenu > a:after {
content: "\BB";
margin-left: 0.5rem;
display: inline; }
The chevron comes from the foundation.5.5.0.css file in the Output folder (...\Output\HTML5\Skins\Fluid\Stylesheets). Usually, your main CSS overrides it, but you may need to add the !important rule:
content: url(../Images/image.jpg) !important;
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard
Re: TopNav skin menu customisation
Those styles (.???-off-canvas-menu) are not for the top nav menu in the screenshot, they're for the off-screen menu that appears when you're in Tablet/Phone mode.
You can find out the styles used by pressing F12 and using the browser tools 'inspect' feature, to see the HTML and CSS in use.
You can find out the styles used by pressing F12 and using the browser tools 'inspect' feature, to see the HTML and CSS in use.
-
- Propellus Maximus
- Posts: 810
- Joined: Wed Jul 25, 2012 11:36 am
- Location: Ann Arbor, MI
Re: TopNav skin menu customisation
Actually, when the browser in Restore mode, too. With the browser maximized it's:
But thanks for pointing that out, Dave. I see that I need to add my first style to remove the chevrons from Restore mode.
Code: Select all
ul.navigation ul > li.has-children > a::after {
position: absolute;
border: medium none;
content: "";
right: 5px;
top: 9px;
}
"I'm tryin' to think, but nothin' happens!" - Curly Joe Howard