Content navigation right at the top (visibly/invisible)
-
Hello,
I have inserted two fields in the upper right with this code in function.php
function basel_header_block_search() {
$header_search = basel_get_opt( 'header_search' );
if( $header_search == 'disable' ) return;
?>
<div class="mystuff">
<a href="/webadresse"><img class="alignright size-startslide wp-image-763" src="http://image.png" alt="" width="20" height="20" /></a>
<?php do_action('wpml_add_language_selector'); ?>
</div>
<?php
1: I want the image disappears when scrolling down
2: Mobile version: should both contents disappear
can you help here?
Hello,
You can hide the image with this code snippet. Add it to the Custom CSS
.sticky-header .mystuff > a {
display:none;
}
And this one only for mobile devices
.mystuff {
display:none;
}
Regards