Home Forums Porto Template Menue

This topic contains 1 reply, has 2 voices, and was last updated by  Support2 1 week, 4 days ago. This post has been viewed 37 times

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10026802

    ulmayer
    Participant

    Hello, I have a little problem with a menu. Is it possible to create the container right-justified under the last menu? At the moment the container is not quite visible, because it runs out of the side.



    Template Version: 6.2
    #10026814

    Support2
    Keymaster

    Hello,

    With the custom code below we can do it. Please, follow the steps below:

    1) Add in (css/custom.css):

    @media(min-width: 992px) {
    	.reverse-menu-dropdown {
    		right: 0 !important;
    	}
    }

    2) Add in (js/custom.js):

    $(window).on('resize', function(){
    	if( $(window).width() < 1450 ) {
    		$('#header .header-nav-main nav > ul > li:last-child').find('> .dropdown-menu').addClass('reverse-menu-dropdown');
    	} else {
    		$('#header .header-nav-main nav > ul > li:last-child').find('> .dropdown-menu').removeClass('reverse-menu-dropdown');
        }
    });

    Please, try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


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