Hi
How can I change the element visibility settings throughout the site? I know how to do this by targeting an element through CSS @media etc, but I want to be able to change the settings throughout. Specifically, where the ‘Hide on medium sized screens (between 768px and 989px – e.g.: Tablet Landscape) and Hide on small screens (between 480px and 767px – e.g: Tablet Portrait) are I want to increase 768 to 769px and 767 to 768px so that an iPad Portrait is changed.
many thanks
Peter
Hey Peter,
You can find it in enfold/css/base.css file by searching
“av-medium-hide” and “av-small-hide”
You can adjust the values and then copy the file to your child theme inside /css/ folder and then add following code to Functions.php file of your child theme
add_action( 'wp_enqueue_scripts', 'wp_change_basecss', 20 );
function wp_change_basecss() {
wp_dequeue_style( 'avia-base' );
wp_enqueue_style( 'avia-base-child', get_stylesheet_directory_uri().'/css/base.css' );
}
Best regards,
Yigit
Hi Yigit
That looks great, I will try that out.
many thanks
Peter
Hi,
Did you need additional help with this topic or shall we close?
Best regards,
Jordan Shannon
Hi Jordan
No that’s great, please do close.
many thanks
Peter