"Real" full widt in page-template possible

is it possible to set the page-template (for example single-project) to real full width without container (how it is possible in template widgetized) ?

Hello @edv-kroiss,

Can you please provide some explanatory screenshots along with a link to your website in order to let me inspect it?

You can upload screenshots to your WordPress Media Library and share a link, or you can use one of the online screenshot services.

Kind Regards, Roman.

Hi Roman,

the website of our client is www.innovatehno.eu
I have made some code change to get the single-project template in full width without container.
It is working now, as we need, but how can we protect the code changes for further updates?
or, could you add a single-products template to your themes with the changes we made?

Demo see
http://innovatehno.eu/all-products/ (astrid project widget, 2 projects(=products) are added)

I have updated the single project page
<?php
/*

Template Name: Single Project
EDIT ROLAND

*/
get_header(); ?>
<div id=“primary” class=“fullwidth”>
<main id=“main” class=“site-main” role=“main”>
<section data-color=“noinherit” style=“color:;background-color:;padding-top:0px;padding-bottom:0px;background-image:url();”>
<?php echo do_shortcode( ‘[metaslider id=482 percentwidth=100]’ ); ?>
</section>

		&lt;?php
		while ( have_posts() ) : the_post();

			get_template_part( 'template-parts/content', 'page' );

			// If comments are open or we have at least one comment, load up the comment template.
			if ( comments_open() || get_comments_number() ) :
				comments_template();
			endif;

		endwhile; // End of the loop.
		?&gt;

	&lt;/main&gt;&lt;!-- #main --&gt;
&lt;/div&gt;&lt;!-- #primary --&gt;

<?php get_footer(); ?>

The Astrid themes header.php
(add single-project.php)
<?php //edit Roland ?>
<?php if ( is_page_template(‘page-templates/page_widgetized.php’) or is_page_template(‘page-templates/single-project.php’)) : ?>
<?php $container = ‘home-wrapper’; ?>
<?php else : ?>
<?php $container = ‘container’; ?>
<?php endif; ?>
<?php //edit ende?>

The Astrid-Pro styles.php
(width from 50% to 100%)
if ($ap_project_sidebyside == 1) {
$custom .= “@media screen and (min-width:991px) { .page-template-single-project .single-thumb { width:100%;float:left;padding-right:30px;} }”."\n";
$custom .= “@media screen and (min-width:991px) { .page-template-single-project .entry-content { width:100%;float:left;} }”."\n";
}

and added this custom css.

.page-template-single-project .site-content {
margin-top: 0;
margin-bottom: 0;
}

the links to the full width project page template sites are
http://innovatehno.eu/ipp-7-4h-outdoor/
http://innovatehno.eu/product_ipp74/

Hello @edv-kroiss,

It’s great that it is working now!

You can use a child theme in order to override .php templates and CSS rules.

Also you can add custom CSS code in DashboardAppearanceCustomizeAdditional CSS (WordPress 4.7 and up).

Please feel free to ask any other questions that you might have.

Kind Regards, Roman.

thank you, yes I heard about the child theme. I will install this.

the style.php in astrid-pro plugin order I will edit after an updates.