Remove the sidebar and align content (center) on static page
-
I am using the Blix theme. I just made a static page using these instructions:
https://codex.www.ads-software.com/Creating_a_Static_Front_Page
<?php define(‘WP_USE_THEMES’, false);
require(‘./wp-blog-header.php’); get_header();?>
<div id=”content” class=”narrowcolumn”>
<h1 style=”color:#000;”>Welcome to my site</h1>
Hello and welcome to my site. You can go to my web
page about how to improve your digital photography
techniques with your new digital camera; or you
can go
to my blog.</div><?php get_footer(); ?>
I can remove ‘<?php get_sidebar(); ?>’, but I also want to remove the vertical line (background image) and align the content of the page like on all the other added pages. Like this:
https://www.kingcosmonaut.de/blix/preview/?page_id=3
Can anyone tell me how to achieve that. Thanks
- The topic ‘Remove the sidebar and align content (center) on static page’ is closed to new replies.