Mobile version header problem
-
Hello people!
I’m having trouble fixing a problem with a page template in the mobile version.
I inserted a code so that in the mobile version the header image is automatically resized, however, with this code, the menu button is no longer opening. How can I fix it?
Link example: [ redundant link removed ]
The code used for the template is:
<?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <?php $image = wp_get_attachment_image_src( get_post_thumbnail_id(), array( 1155, 450,true ) ); ?> <style scoped> .on-the-fly-behavior { background-image: url('<?php echo $image[0]; ?>'); background-position: center; background-size: cover; height: 649px; width: 100%; margin-top: 120px;} @media (max-width: 767px) .on-the-fly-behavior { background-image: url('<?php echo $image[0]; ?>') top center no-repeat; width: 100%; height: 250px !important; background-size: 556px; background-position: top center no-repeat; float: left; margin-top: 90px !important;} } </style> <span class="on-the-fly-behavior"></span> <div id="headerpage">
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Mobile version header problem’ is closed to new replies.