Theme Melos would be nearly OK for this and i created test-page on https://computersandcontrol.pl.
The main problem is that i have and i need some pages with template with right-sidebar and other pages with template full-width.
I try create template ccfullwidth.php and content-ccfullwidth.php files but I have no idea what else add or change in database probably in wp_options table ( I use phpmyadmin) to get new/second page template?
ccfullwidth.php file:
<?php
/**
*
Template Name: CCfullwidth
*
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', 'ccfullwidth' ); ?>
<?php /* Add comments */ thinkup_input_allowcomments(); ?>
<?php endwhile; wp_reset_postdata(); ?>
<?php get_footer(); ?>
content-ccfullwidth.php file:
<?php
/**
* The CCfullwidth content template file.
*
* @package ThinkUpThemes
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'melos' ), 'after' => '</div>', ) ); ?>
<?php the_content(); ?>
</article>
When I use the frontend editor my full-width pages appear centered, but when I preview the staging site the content is over to the left.
Post pages are fine.
Here are two screenshots – one from the back end and one from the staging site. You can see that the live site is left aligned.
https://postimg.cc/gallery/1jy8lliw8/
Please help!
]]>When I use the frontend editor my full-width pages appear centered, but when I preview the staging site the content is over to the left.
Post pages are fine.
Please help!
]]>My homepage in Theme settings is set to “show latest posts / classic blog”. I want my homepage to use the “Full width template” but can’t find this option anywhere.
I can set separate pages/posts to use the “Full width template”, but not a homepage with the “latest posts” setting.
Can anyone help please? Do I need to change some CSS code?
]]>