In frontpage, columns start shifted to the right of the menu
-
Hi,
I think I have found a small bug in the frontpage php file.
That makes the 4 columns (when there is enough width to display the pulldown menu) start only after the menu items, shifted a bit to the right. (If there are many menu items, this means having only half of the width or less.)As it didn’t happen in category pages, i looked at the code and made a patch.
Instead of<?php
get_header();
if(have_posts()) :
get_template_part(‘content’, ‘postlist’);
else :
get_template_part(‘content’, ‘none’);
endif;
get_footer();
?>now I have
<?php
get_header();
if(have_posts()) :
?>
<div id=”post”></div>
<?php
get_template_part(‘content’, ‘postlist’);
else :
get_template_part(‘content’, ‘none’);
endif;
get_footer();
?>and everything works fine for me.
I am not a programmer, so I don’t have a way to post these changes in github.
Please tell me if this is a good way to solve the bug. It wors for me. ??Cheers,
Jorge Rosa
- The topic ‘In frontpage, columns start shifted to the right of the menu’ is closed to new replies.