Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #820265

    Hello

    I’ve got this in my child style.css, and I’m trying to have the MENU | to the left of the pancake, and the Chinese characters to the right.

    Also, I need the Chinese characters to link to a PDF. Please advise. Thank you :)

    /* mobile menu */
    
    .main_menu:before {
    	content: 'MENU |';
    	font-size: 13px;
    }
    
    .main_menu:after {
        content: "中文";
        font-size: 14px !important;
        left: 2px;
        position: absolute;
        top: 30px;
    }
    #821541

    Hey webWahine,

    Thank you for using Enfold.

    The dev site is not loading. Did you transfer it?

    Best regards,
    Ismael

    #821549

    Hi ismael
    No. It’s in Dev and hasn’t moved please try again.

    #821988

    Hi webWahine,

    Maybe you should put those in div.avia-menu.av-main-nav-wrap
    http://imgur.com/a/g8Cex and then try to adjust?

    Best regards,
    Victoria

    #822161

    Didn’t work; looks like that is before the mobile menu element.

    div.avia-menu.av-main-nav-wrap:before {
    	content: 'MENU |';
    	font-size: 13px;	
    }
    
    div.avia-menu.av-main-nav-wrap:after {
        content: "中文";
    	font-style: Arial;
        font-size: 14px !important;
        left: 2px;
        position: absolute;
        top: 30px;	
    }
    #822168

    Trying more options, I managed to target the MENU element, but I’d like to add a hover effect to the hamburger, plus the CH is still in the wrong place. Please advise :)

    .avia-menu.av-main-nav-wrap:after {
        content: "中文";
    	font-style: Arial;
        font-size: 14px !important;
        left: 2px;
    	/*display: inline-block;*/
        position: absolute;
        /* top: 30px;*/
    }
    
    .av-hamburger:before {
    	content: 'MENU';
    	font-size: 14px;
    	padding-right: 10px;
    }
    #822228

    Still working on this myself.

    I looked at this post –

    It’s placed a widget before, not after the hamburger, and doesn’t seem to read the HTML, so is showing everything. I’ve added this to my css –

    /* wdiget after header */
    
    #header .widget {
      right: 0%;
      padding-top: 0;
      position: absolute;
      top: 0;
      z-index: 999;
    }
    #822229

    Sorry, the URL didn’t work –

    #822296

    Hi,

    The following site is not loading. http://dev.ifortunehomes.com/

    Best regards,
    Ismael

    #822315

    Hello, Ismael
    As noted previously, the site is password protected. The password is in my first private field, but I am adding here, again, in the private field :)

    #823134

    Hi,

    We edited the text widget. Please adjust the right and top position.

    #header .widget {
        right: -40px;
        padding-top: 0;
        position: absolute;
        top: -10px;
        z-index: 999;
    }

    Best regards,
    Ismael

    #823479

    Ok! Wonderful :) I tweaked it some more because the CH characters were too close to the edge, so here is my final code; hopefully this helps others! Thank you for your help!

    /* before mobile menu */
    
    .av-hamburger:before {
    	content: 'MENU';
    	font-size: 14px;
    	padding-right: 10px;
    }
    
    /* adjust pancake to give the CH some space */
    
    .main_menu {
    	margin-right: 60px;
    }
    
    /* header widget after header */
    
    #header .widget {
        right: 0px;
        padding-top: 0;
        position: absolute;
        top: -15px;
        z-index: 999;
    	font-size: 18px;	
    }
    #824264

    Oh, one more item, please – how can I change the colour of the hamburger on hover?

    #824345

    Hi,

    Thank you for the update. For the hover color, please use this code.

    .av-burger-menu-main:hover .av-hamburger-inner, .av-burger-menu-main:hover .av-hamburger-inner:before, .av-burger-menu-main:hover .av-hamburger-inner:after {
        background-color: red !important;
    }
    

    Best regards,
    Ismael

    #824358

    Perfect! Thank you so much, Ismael :)

    #824550

    Hi,

    We’re glad that Ismael was able to assist you! We’ll close the thread now. For any other questions or issues, feel free to post them here on the forum and we will do our best to help you.

    Thank you for using Enfold.
    Cheers!
    Sarah

Viewing 16 posts - 1 through 16 (of 16 total)
  • The topic ‘Add menu text before mobile menu and linked text after’ is closed to new replies.