Home page translation not full width
-
I’m using WPML to translate my site. When i tried to make a copy of the home page to translate, it won’t show up as full width. Everything is on the left like there’s a right sidebar. But the page is set to the full width page template. The page is http://boynton.iwakiaquatic.com/?lang=es&preview=true. Is there something I can do to make it full width? Thank you.
-
Sorry. My issue is resolved!
Thank’s for using our theme.Let us know for further query
-
This reply was modified 9 years, 5 months ago by
weblizar_support.
Now when I switch the page from English to Spanish, it’s not full width again. Looks like there’s a right sidebar. I need the page to be full width. I don’t understand why it keeps changing. Here is the link to the page. Thanks for your support.
Hello,
bjbaron
go to Dashboard->Appearance->Customize->Theme Options->Theme General Options->Custom CSS
insert below code in Custom CSS box
.enigma_blog_wrapper .col-md-8 { width: 100% !important; }Let us know for further query
I added the code in the CSS box but the spanish page is still not full width. I already had this code in the custom css: .page-id-690 .enigma_blog_wrapper .col-md-8 {width: 100% !important;} which I had to add to make the english home page full width when I first started the site. Thank you for your help.
please use this code
.page-id-2958 .enigma_blog_wrapper .col-md-8 { width: 100% !important; }-
This reply was modified 9 years, 5 months ago by
weblizar_support.
The code didn’t work. 🙁
The page is still condensed to the left.hii,
please copy this code in your style.css file at bottom –
.page-id-2958 .enigma_blog_wrapper .col-md-8 { width: 100% !important; }and save the file.
I copied the code into style.css and it’s still not working. Page is still shifted to the left.
I hope we can get this working because I still have to translate into Portuguese! Is it possible for you to log in to my site to look at it?hii,
first, create a child theme using given LINK
now copy single.php from main theme folder and paste in child theme folder after copy and paste open single.php and replace already existing code with the below code –
<?php get_header(); get_template_part('breadcrums'); ?> <div class="container"> <div class="row enigma_blog_wrapper"> <div class="col-md-8 hi" style="width:100%"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php get_template_part('post','content'); get_template_part('author','intro'); endwhile; else : get_template_part('nocontent'); endif; weblizar_navigation_posts(); comments_template( '', true ); ?> </div> <?php get_sidebar(); ?> </div> <!-- row div end here --> </div><!-- container div end here --> <?php get_footer(); ?>and save file and activate your child theme.
Thank you very much. It’s working now. I appreciate your assistance!!!
Your most welcome bjbaron.
If I’m working with a child theme and there are theme updates, how do I update the theme without losing all the customization?
I ran into the same issue as in this thread when translating my home page into Portuguese.
The page content is not full width. You had me add this code to single.php when I created the Spanish home page and that resolved the issue. I would have thought it would work for any translation but it’s not. Here is the LINK to the new Portuguese home page. Thank you for your help.<?php get_header();
get_template_part(‘breadcrums’); ?>
<div class=”container”>
<div class=”row enigma_blog_wrapper”>
<div class=”col-md-8 hi” style=”width:100%”>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php get_template_part(‘post’,’content’);
get_template_part(‘author’,’intro’);
endwhile;
else :
get_template_part(‘nocontent’);
endif;
weblizar_navigation_posts();
comments_template( ”, true ); ?>
</div>
<?php get_sidebar(); ?>
</div> <!– row div end here –>
</div><!– container div end here –>
<?php get_footer(); ?> -
This reply was modified 9 years, 5 months ago by
The topic ‘Home page translation not full width’ is closed to new replies.
