Menu Separator As Line - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Menu Separator As Line

S

SPD

Helix Framework 2 years ago

Hi, Before I start diving into how to do it in CSS I thought I would ask if simpler way. Basically I would like to add horizontal lines between menu I groups (not many, just a coupla) and I was just wondering if its something I can do with SPPB/Helix or am I looking at assign a class to the menu item and doing it via custom.css.

Here is example from the Joomla backend, Content menu. Looking for those thin 'blue' lines https://drive.google.com/file/d/10zFYu9QX8H3fJGWCskpKjgeQGrSEOzdl/view?usp=sharing

Cheers

0
8 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #114374

Use this custom CSS

.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a, .sp-megamenu-parent .sp-dropdown li.sp-menu-item span:not(.sp-menu-badge){
      border-bottom: 1px solid #4f89b0 !important;
}

Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #114216

Hi

Thanks for contacting us. Could you please give me your site URL? So that I can check?

-Regards.

0
S
SPD
Accepted Answer
2 years ago #114226

Sure but there is nothing to check. I just had tried to add the Seperate menu option, under Catalogue, and of course all that was display was the title of the menu option.

I did do some googling on it but couldn't find any joomla related answers so just assumed its probably something I need to do in css but as always, thought I would ask first :-)

0
S
SPD
Accepted Answer
2 years ago #114381

Thanks, will give it a try. Apprecaite the CSS, was happy to go digging but would have taken ages. fwiw, it wouldn't surprise if many users would find this useful, maybe in future versions an option could be made available or something. Cheers

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #114382

You are always welcome.

0
carloxp
carloxp
Accepted Answer
3 weeks ago #205232

Good morning Sorry, I did not understand how this Snippet CSS is used. Thank you very much Carlo

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 weeks ago #205234

Hi

Could you please create a new forum post about your issue? We will help you.

0
carloxp
carloxp
Accepted Answer
3 weeks ago #205236

Okay, thank you, I will. Best Regards

0