Topic-icon Dropdownmenu with two carets [SOLVED]

Active Subscriptions:

None
5 years 4 months ago - 5 years 4 months ago #64965 by brugal
Hi,

I'm using SCLogin 8.0.4 on a Joomla 3.9.1 with Helix Ultimate template.

When I'm associating a menu to the user, I'm getting two carets: one from the class of the button and one from the <span class="caret">.
I wanted to remove the span but I can't override the file as it is in the helper.php.

Any idea about how I could proceed to solve this please ?
Last edit: 5 years 4 months ago by brugal.
The topic has been locked.
Support Specialist
5 years 4 months ago #64970 by alzander
We haven't heard about this issue before and I'm not sure I fully understand where both caret's are coming from. The menu itself does get a caret applied to the dropdown toggle; that is done in our helper file as you mention. I don't understand where the other caret is coming from though.

Can you post or private message us a link to a page with the SCLogin module enabled that we can take a look? If you can create a test account (for front-end access only) with a username and pass of test/test (or something similar), that would help too.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
5 years 4 months ago - 5 years 4 months ago #64982 by brugal
I was not able to attach the picture when I posted my message.
I'm going to send you the url and login in pm.
From what I have seen, they are coming from there:
<a class="btn dropdown-toggle" data-toggle="sc-dropdown" href="#">
    Test User
    <span class="caret"></span>
</a>

The first caret comes from the dropdown-toggle class in the a tag and the second one comes from the caret class in the span tag.
File Attachment:
Last edit: 5 years 4 months ago by brugal.
The topic has been locked.
Support Specialist
5 years 4 months ago #64985 by mel
Thank you for the credentials. We were able to log in and see the behavior.

Yes, one is coming from sclogin with the element for ".sourcecoast .caret" and one coming from the bootstrap.min.css in your template with the ".dropdown-toggle::after" element.

You can add the following style to hide SCLogin's caret
.sourcecoast .btn.dropdown-toggle .caret {
display: none;
}

I'd recommend putting that in a theme for SCLogin so that you don't lose any changes if you upgrade SCLogin. Check out how to do that here

-Melissa
The topic has been locked.
Active Subscriptions:

None
5 years 4 months ago #64986 by brugal
Thank you for your quick answer and solution.
It's a lot nicer that way :D
The topic has been locked.
Support Specialist
5 years 4 months ago #64987 by mel
Great. Glad we could help!

Let us know if you need any more help with other issues.

-Melissa
The topic has been locked.