Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • Mikhail Friend
    #1035890

    The caret near dropdown menu item is abnormal. How to fix it?

    Pankaj Sharma Moderator
    #1035901

    Hi
    Can you provide the screenshot of the problem with caret style?
    It will help me to understand the issue.
    Regards

    Mikhail Friend
    Pankaj Sharma Moderator
    #1035905

    Hi
    I am getting this view from your site http://prntscr.com/fan23h
    Can u illustrate what you want to change in caret?

    Mikhail Friend
    #1035907
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #1036127

    Hi
    The style for the caret is same http://prntscr.com/faz3ja
    Can u share what u want to modify in it?
    Here is demo site using the same style http://ja-charity.demo.joomlart.com/index.php/ar/

    Regards

    Mikhail Friend
    #1036151

    I mean that in demo site the caret is in middle of the word. But in my site the caret is in top and color is blue.

    Pankaj Sharma Moderator
    #1036153

    Hi
    On your site, the colour is different because of the theme colour of your site.
    add below code in custom.css file

    .t3-megamenu .nav > .dropdown > .dropdown-toggle .caret {
        margin-top: 6px;
        border-top-color: #1e6698;
        border-bottom-color: #1e6698;
    }

    change the color codes with your color code.

    Regards

    Mikhail Friend
    #1036162

    Thanks, but how to make the caret to change color on hover with menu item?
    I added following code in custom.css, but the color of caret changed separately of menu item:

    .t3-megamenu .nav > .dropdown > .dropdown-toggle .caret:hover,
    .t3-megamenu .nav > .dropdown > .dropdown-toggle .caret:focus {
    border-top-color: #ffffff;
    border-bottom-color: #ffffff;
    }

    Pankaj Sharma Moderator
    #1036194

    Hi
    Use this code in custom.css file

    
    .navbar-default .navbar-nav > .open > a .caret, .navbar-default .navbar-nav > .open >  .separator:hover .caret, .navbar-default .navbar-nav > .open >  .separator:focus .caret {
        border-top-color: #ffffff;
        border-bottom-color: #ffffff;
    }
    

    Regards

    Mikhail Friend
    #1036214

    Thanks. It’s work, but not in same time. I mean the caret and menu item not synchronized on hover.
    And if one of dropdown’s menu items is active, the parent menu item don’t change color. I mean that in demo page for example:
    http://ja-charity.demo.joomlart.com/index.php/ar/joomla-pages-ar-aa/advanced-search-ar-aa
    the parent menu item is white.

    Pankaj Sharma Moderator
    #1036218

    Hi
    I checked the caret is white on hover now.
    Can u check it again?
    For drop-down colours kindly open a new thread for a different question.

    Regards

    Mikhail Friend
    #1036260

    Yes. It’s white now on hover, but caret is not synchronized with the word.

    Pankaj Sharma Moderator
    #1036275

    Hi
    Use this code

    .navbar-default .navbar-nav > .open > .separator,
    .navbar-default .navbar-nav > .open > .separator:hover,
    .navbar-default .navbar-nav > .open > .separator:focus {
         color: #ffffff;
    
    }
    

    Actually, the text separator does not have the same style. now it use the hover for caret and text colour with above code.

    Regards

Viewing 14 posts - 1 through 14 (of 14 total)

This topic contains 13 replies, has 2 voices, and was last updated by  Pankaj Sharma 7 years, 4 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum