Persistent White Separator Line And Hover Gradient Customization In SP MegaMenu. Indigo Template - Question | JoomShaper

Persistent White Separator Line And Hover Gradient Customization In SP MegaMenu. Indigo Template

I

Ivonne

Template 2 days ago

Hello Support Team,

I am currently working with your Joomla template and the SP MegaMenu module, and I need your assistance with two related front-end customization issues that I have not been able to resolve via CSS overrides.

1. Persistent white separator line in the main menu (level 1)

There is a persistent white horizontal line (separator) appearing in the main menu items (top-level / level 1), as shown in the attached screenshot. This line appears behind or around each menu item and remains visible regardless of background or hover state.

What we have already tried:

Removing ::after pseudo-elements on:

.sp-megamenu-parent > li > a::after

.sp-megamenu-parent > li > span::after

Applying background: transparent !important

Removing borders (border-bottom: none !important)

Targeting dropdown and non-dropdown selectors separately

None of these changes affect the line, which suggests that it may not be controlled by the standard ::after pseudo-element, or that it is generated by another wrapper element, SVG, background image, or JavaScript-based style.

2. Hover gradient on the main menu

Additionally, the hover effect on the main menu items uses a gradient background, and we need to customize or fully replace this gradient to match our brand guidelines.

Could you please clarify:

Where this hover gradient is defined?

Is it controlled via template options?

A specific CSS file or variable?

Inline styles generated by the template or SP MegaMenu?

What is the recommended way to modify or disable this gradient without editing core template files?

What we need

Identify the exact selector or mechanism responsible for the white separator line in the main menu.

Guidance on how to safely remove it.

Clear instructions on where and how to customize the hover gradient of the main menu items.

This will allow us to apply the required changes cleanly and maintain future compatibility with template updates.

Thank you in advance for your support.

Kind regards, Ivonne Joomla Version: 4.4.14 Template: Indigo

0
3 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 days ago #214459

Hi there!

Thanks for reaching out.

  1. Please check the documentation about menu separators:

https://www.joomshaper.com/documentation/joomla-templates/indigo/design-customising-tips#how-to-remove-lines-from-the-header-menu

  1. .sp-megamenu-parent>li>a:before, .sp-megamenu-parent>li>span:before{
    background-image: linear-gradient(100deg, #d51ccd, #f5f561);
    }

    You can change the color codes in the above code snippet as per your need.

Here is all about custom code placement in Helix Ultimate framework: https://www.joomshaper.com/documentation/helix-framework/custom-code-css-js-meta

Best regards,

0
I
Ivonne
Accepted Answer
1 day ago #214565

Thank you for answering my questions. Best regards

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 21 hours ago #214609

You're always welcome:)

Glad that I could help. Would you please accept the most useful answer in order to close the post?

Have a nice day!

0