You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
NOTE: This post was created on 2023-07-07 on the Kryptronic eCommerce Community facebook page, which has been replaced with this forum. All facebook support content was migrated into this forum in April 2024.
Anthony:
Adding text after hamburger icon. In the mobile site the categories just show a hamburger icon, I would like to add text after this to say "categories" and preferably with an active link to open the category menu as well. So you can click in the Hamburger icon or the "Categories" text to open the menu up
Kryptronic:
The easiest way to do this would be to create an icon with the text in it, then modify the icon div using your CSS to adjust background-image (point to new icon), background-position, and size (width and height). You're basically replacing the icon there with a bigger, different icon with text in it, then overriding CSS to display that icon with the right proportions and configuration.
Anthony:
Ah.. how simple.... thanks!!
Anthony:
Actually, it was easier to solve it this way using a css override for what is already there... #kwidgetgroup_NAVBAR #Mobile_Categories .kwidget_boxtext {display: block !important; overflow: hidden; white-space: nowrap; padding: 0.5em 0.25em 0.5em 0.25em; font-weight: bold;}
Offline