Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #889191

    Greetings, I’m wanting to change the font-size and color for the menu items for the Full Width Sub Menu Element on the following site: http://rahmanaelizabethsayre.com/. I’m using the element on nearly each page of the site and I would like the styling to apply globally (to each and every usage). Can you help?

    For your information I’ve added some code per one of the support threads to the functions.php file. The file code now looks like this:

    <?php

    /*
    * Add your own functions here. You can also copy some of the theme functions into this file.
    * WordPress will use those functions instead of the original functions then.
    */
    add_filter(‘avf_logo_final_output’, ‘avia_remove_default_logo’, 10, 6);
    function avia_remove_default_logo($logo, $use_image, $headline_type, $sub, $alt, $link){
    return ”;
    }

    //set builder mode to debug
    add_action(‘avia_builder_mode’, “builder_set_debug”);
    function builder_set_debug()
    {
    return “debug”;
    }
    //One page nav highlight

    function activateMenuItem(){
    ?>
    <script>
    jQuery(document).scroll(function() {
    var sections = jQuery(‘.avia-section’),
    menu = jQuery(‘.av-submenu-container’),
    nav_height = menu.outerHeight();
    jQuery(window).on(‘scroll’, function() {
    var cur_pos = jQuery(this).scrollTop();
    sections.each(function() {
    var top = jQuery(this).offset().top – 300,
    bottom = top + jQuery(this).outerHeight();
    if (cur_pos >= top && cur_pos <= bottom) {
    menu.find(‘a’).removeClass(‘active-menu-item’);
    menu.find(‘a[href=”#’ + jQuery(this).attr(‘id’) + ‘”]’).addClass(‘active-menu-item’);
    }
    });
    });
    });

    </script>
    <?php
    }
    add_action(‘wp_head’, ‘activateMenuItem’);
    ____________

    Thank you …

    #889629

    Hey ajaxkls,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #top .av-subnav-menu  a .avia-menu-text {
      color: #666;
      font-size: 16px;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #889721

    Thank you!

    #889726

    Hi,
    Did this help, shall we close this then?

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.