-
Search Results
-
Hi.
I’ve deleted my old WordPress theme and installed Enfold onto my existing site.
But when I try and change the font, font colour or font size etc. it remains the same.Is there any place in the files that are left that may have been altered that Enfold cant overwrite?
I have attached site details below in the private area should any admin need them.
Topic: font size
hi, the font in your Home V3 news articles has a certain size.
nevertheless ive used this page as some kind of template for my homepage, the font size in thje articles ive made is different.
how to get exact that size enfold has used on the home v3 page in the Latest News articles?Topic: Social Icon Query
I am trying to increase the font size of the header secondary menu but have had no success when trying to apply the two suggested solutions found in articles in this support section.
1) #header_meta .sub_menu>ul>li>a{
font-size: 20px; }
2) .main_menu ul:first-child > li > a {
font-size: 20px; }Please give me the code to correct it.
Thanks in advance.
Hi guys
In the Child Theme Options > Advanced Styling > Main Menu Links, I have set a custom grey Font Color plus a custom Font Size.
That worked, however now there is no Hover or Active state color on the top menu. How do I set those elements up?
Thanks
Topic: JS child theme problem
OK, so trying to edit avia.js – I’ve added to child theme in /js folder, and added this code to functions.php to make it include:
— https://kriesi.at/support/topic/use-avia-js-in-child-theme/Doesn’t seem to be working right though – in Chrome inspector ‘resources’ I see two avia.js being loaded now – the old one and the new one. The old one seems to be overwriting my edits!
What I’m trying to achieve is to stop mobile scrolling to top on menu tap (thread is here – https://kriesi.at/support/topic/advanced-menu-toggle-on-desktop-seems-to-be-an-anchor-tag/#post-626159)
… it’s one tiny edit to the js file.I have no idea about PHP syntax, so I have a feeling the functions.php is not working properly – can you take a look?
<?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. */ /* Register frontend javascripts */ if(!is_admin()) { add_action('wp_enqueue_scripts', 'avia_register_child_frontend_scripts', 100); } function avia_register_child_frontend_scripts() { $child_theme_url = get_stylesheet_directory_uri(); //register js wp_register_script( 'avia-default-child', $child_theme_url.'/js/avia.js', array('jquery'), 1, false ); wp_enqueue_script( 'avia-default-child' ); } // STOP SCROLL TO TOP ON MOBILE MENU function removeScrollToTop(){ ?> <script> jQuery(document).scroll(function() { jQuery("#advanced_menu_toggle").removeAttr("href"); jQuery("#advanced_menu_hide").removeAttr("href"); }); </script> <?php } add_action('wp_head', 'removeScrollToTop'); // INCLUDE OTHER CUSTOM FILES add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1); function avia_include_shortcode_template($paths) { $template_url = get_stylesheet_directory(); array_unshift($paths, $template_url.'/shortcodes/'); return $paths; } // hide logo add_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= "Bill Tribble"; return $sub; } //set builder mode to debug add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; } // TURN ON CUSTOM CLASSES add_theme_support('avia_template_builder_custom_css'); // CHANGE MOBILE MENU ICON add_filter('avf_default_icons', function($icons) { $icons['mobile_menu'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue811'); return $icons; }, 10, 1); add_filter('avf_portfolio_cpt_args','avia_add_portfolio_revision', 10, 1); function avia_add_portfolio_revision($args) { $args['supports'] = array('title','thumbnail','excerpt','editor','comments','revisions'); return $args; } // PAUSE VIDEOS WHEN NOT IN VIEW wp_enqueue_script( 'isInViewport', get_bloginfo( 'stylesheet_directory' ) . '/js/isInViewport.js', array( 'jquery' ), CHILD_THEME_VERSION ); // EDIT PASSWORD FORM TEXT function my_password_form() { global $post; $label = 'pwbox-'.( empty( $post->ID ) ? rand() : $post->ID ); $o = '<div class="center-text"><form action="' . esc_url( site_url( 'wp-login.php?action=postpass', 'login_post' ) ) . '" method="post"> <p> ' . __( "Sorry, but this project is protected by a Non Disclosure Agreement (NDA). You'll need a password to see the case study - please " ) . '<a href="http://www.btribble.dev#contact">' . __("contact me" ) . '</a>' . __(" for access." ) . ' </p> <label for="' . $label . '">' . __( "Password:" ) . ' </label><input name="post_password" id="' . $label . '" type="password" size="20" maxlength="20" /><input type="submit" name="Submit" value="' . esc_attr__( "Submit" ) . '" /> </form></div> '; return $o; } add_filter( 'the_password_form', 'my_password_form' ); ?>Any suggestions on how to fix this welcome! My aim is to stop the mobile menu scrolling to top when tapped.
Thanks!
