Active links add border and padding

More
10 years 2 weeks ago #38396 by panda
I'm having trouble with active links both on the top level and submenus. When a page is active, Maximenu is adding both extra padding and a border around the active link. This has happened on many sites I've tried to build. Regular links and Hover links do not have extra padding/borders unless I want them, and act "normally."

Even when all border/padding/margins are empty or set to "0" the padding and borders are being added. If I already have padding, the extra padding adds to them.

I do not know how to fix this and have tried for a year. I am finally asking for help.

I have the latest version of Maximenu and latest Joomla 3.6.4, but this has been happening for a long time. I use Rockettheme templates.

Please Log in or Create an account to join the conversation.

More
10 years 2 weeks ago #38402 by ced1870
Hi

I do not know how to fix this and have tried for a year.

do you know that you can ask without waiting for a year ? ;)

please give me the url where I can see the menu in action
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 years 2 weeks ago #38435 by panda

ced1870 wrote: Hi

I do not know how to fix this and have tried for a year.

do you know that you can ask without waiting for a year ? ;)

please give me the url where I can see the menu in action
CEd


I try to be self-sufficient when possible. :)


Part of the message is hidden for the guests. Please log in or register to see it.

Please Log in or Create an account to join the conversation.

More
10 years 2 weeks ago #38438 by ced1870
in your template css
templates/rt_anacron/css-compiled/master-bc15ee911195da6a428cdc348fd87965.css
you have this
.current {
border: 1px solid #181818;
clear: both;
padding: 10px;
}

this adds an extra margin and border to your current item. you must fix this in your template

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
10 years 2 weeks ago - 10 years 2 weeks ago #38442 by panda
Thank you for the quick reply.

I've used a CSS override to change the values so the menu works properly but I'm hoping this fix didn't break something else.
Last edit: 10 years 2 weeks ago by panda.

Please Log in or Create an account to join the conversation.

More
10 years 2 weeks ago #38444 by ced1870
you shall ask the template developper may be for that. I'm just surprised to find a such generic css class in the template ...

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.207 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 739 guests and one member online