Viewing 6 replies - 1 through 6 (of 6 total)
  • Shahid Mansuri

    (@shahidmansuri123)

    Hi @carlosbmc

    Thanks for the using Appointment theme.

    Kindly let me clear, do you want to remove active menu background color in Appointment theme. Please look at the screenshot http://prntscr.com/jaol48 if yes use the below custom css snippets.

    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
        background-color: transparent !important;
        color: #1b1b1b !important;
    }

    If you are talking about something else please more clear your query so we can help you better.

    Thank you.

    Thread Starter carlosbmc

    (@carlosbmc)

    Not exactly
    I want to remove active menu like this image (where are marked as active links to div in the home page)
    https://prnt.sc/jf87b3

    This theme do this correctly

    https://wp-themes.com/onetone/

    Shahid Mansuri

    (@shahidmansuri123)

    Hello @carlosbmc

    For this, Can you please try code given below in Custom CSS field (Appearance -> Customize -> Header settings -> Custom CSS).

    @media (min-width: 768px){
    	.navbar-default .navbar-nav > li {
    		margin: 4px 15px !important;
    	}
    	.navbar-default .navbar-nav > li > a {   
    		border-radius: 0 !important;
    		padding: 5px 0 !important;
    	}
    	.navbar-default .navbar-nav > .active > a, 
    	.navbar-default .navbar-nav > .active > a:hover, 
    	.navbar-default .navbar-nav > .active > a:focus {
    		background-color: transparent !important;
    		color: #1b1b1b !important;
    		border-bottom: 2px solid #ee591f !important;
    	}
    }

    Let us know if it works..!

    Thank You.

    Thread Starter carlosbmc

    (@carlosbmc)

    It’s not correct

    See this image

    https://prnt.sc/jfaxnr

    Shahid Mansuri

    (@shahidmansuri123)

    Hi @carlosbmc,

    You are using same URL in 3 pages, please remove same URL in pages of “Empresa” and “Areas de trabajo” then check your website.

    And also remove above code in custom css filed.

    Thanks

    Thread Starter carlosbmc

    (@carlosbmc)

    Ok,

    so, how can I do something like this?
    https://stackoverflow.com/questions/12386212/link-to-an-element-within-the-current-page

    This is working in this demo theme page https://wp-themes.com/onetone/

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Problem active navigation class in NAVBAR’ is closed to new replies.