Staff replied Templates

Drop down menu item background

Asked by Scott Johnson 3 years ago Last activity 3 years ago

How can I get the background to span the entire width instead of just the text width of the menu item?

https://prnt.sc/rMLVGs4RqBvx

12 replies

Mehtaz Afsana Borsha Staff
3 years ago · edited

Hi

Thanks for contacting us. Do you want that background color in full width of the menu?

-Regards.

Scott Johnson Asked this
3 years ago · edited

Yes Full width as is shown on this example and also where can I change the font to affect whole menu?

https://prnt.sc/78t2AT44-x7i

Mehtaz Afsana Borsha Staff

Did you change the menu?

Scott Johnson Asked this

the menu is different layout than before but the color scheme is the same as it was in my initial question.

this is what I want the drop down. menu background to look like
https://prnt.sc/hb1NKBA0CyRD

but this is what I get on the new site when i use the CSS text-decoration-background: white

https://prnt.sc/HVlfpZnmWtoB

Scott Johnson Asked this

hello? Is there anybody that can answer this question?

Mehtaz Afsana Borsha Staff

Hi

Sorry its not set by the full width but you may use this CSS in your custom.css file

.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a{
    padding-right: 35px !important;
    padding-left: 35px !important;
}

Mehtaz Afsana Borsha Staff

Allow me some time. I have forward it to our team they will check and then let me know is it possible or not to set the full width here.

Scott Johnson Asked this

Any news, I would like to get this resolved if possible.

Mehtaz Afsana Borsha Staff

Sorry I have talked with them and they also provide me that solution which I gave you. There is no other option to do this.

Log in to reply.