Tagged: Container width, Same Width on inner page
- This topic has 9 replies, 4 voices, and was last updated 6 years, 1 month ago by Theme Horse Support Team. 
- 
		AuthorPosts
- 
		
			
				
February 9, 2019 at 6:16 pm #60286longruibin ParticipantHi, 
 After i add child theme to newscard, the home page width decrease.
 the child theme code is created by using CHILD THEME GENERATOR plugin as following”
 /
 function newscard_child_theme_enqueue_child_styles() {
 $parent_style = ‘parent-style’;
 wp_enqueue_style($parent_style, get_template_directory_uri() . ‘/style.css’ );
 wp_enqueue_style(
 ‘child-style’,
 get_stylesheet_directory_uri() . ‘/style.css’,
 array( $parent_style ),
 wp_get_theme()->get(‘Version’) );
 }
 add_action( ‘wp_enqueue_scripts’, ‘newscard_child_theme_enqueue_child_styles’ );
 /
 currently the whole site no plugin is active as I wrote this problem.
 http://www.chartingyourtrading.com
 please help.ray February 9, 2019 at 6:43 pm #60287longruibin ParticipantThe AD banner also disappear after active child theme. February 11, 2019 at 11:53 am #60325Theme Horse Support Team KeymasterAugust 31, 2019 at 12:54 pm #67345Michel STOUPAK ParticipantHi, I have the same problem : the home page width decrease with the child theme created by using CHILD THEME GENERATOR plugin. 
 The website concerned : http://newsimages.frPlease help. 
 Thank you
 MichelAugust 31, 2019 at 8:45 pm #67348Michel STOUPAK ParticipantHi, I solved the problem using the custom CSS in the frontpage layout that you gave to another user in this forum. It’s ok for me. August 31, 2019 at 10:46 pm #67350Michel STOUPAK ParticipantBut now, which CSS should I add to have the same page and heading width in articles and pages than in frontpage (see http://newsimages.fr) 
 Sorry for bad English, and thank you for your reply.September 1, 2019 at 5:38 am #67355Michel STOUPAK ParticipantFinally, I tried several CSS without success. My exact need is the following. – I would like the same homepage width as on this page : https://www.themehorse.com/preview/newscard-sport/ 
 – I would like to have the same width as the homepage on all posts and pages.Thank for your help. September 5, 2019 at 11:29 am #67552Theme Horse Support Team KeymasterHi @michel-stoupak, To make the Same width as the Homepage, Please go to the Appearance > Customizer > Additional CSS and paste below custom css code: @media (min-width: 1600px) { .post-template-default .site-content .container { max-width: 1540px; } } @media (min-width: 1800px) { .post-template-default .site-content .container { max-width: 1740px; } }Thanks September 22, 2019 at 8:12 am #68260Michel STOUPAK ParticipantHi, it’s OK now with this css code. Thanks. September 22, 2019 at 12:43 pm #68270Theme Horse Support Team KeymasterWelcome anytime @michel-stoupak Thank you! 
- 
		AuthorPosts
- You must be logged in to reply to this topic.
