Menu Separator as Line - Forum | JoomShaper
Solved Helix Framework

Menu Separator as Line

Asked by SPD 3 years ago Last activity 1 year 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

Accepted answer

Marked as the solution
Mehtaz Afsana Borsha Staff

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.

5 more replies

Mehtaz Afsana Borsha Staff

Hi

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

-Regards.

SPD Asked this

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 :-)

SPD Asked this

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

Mehtaz Afsana Borsha Staff

You are always welcome.

carloxp

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

Mehtaz Afsana Borsha Staff

Hi

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

carloxp

Okay, thank you, I will.
Best Regards

Log in to reply.