Hi
I am using Kingstore lite template and would like to hide the header left (categories) and have the slideshow and two banners
I do not want to have white space where categories previous exists.
I do comment this line an try to play with the css class
How can i have the slide show fullwidth without the categories ? (http://themeglobal.com/opencart/kingstore/doc/#!/layout)
<?php //$grid_center = 12; if( count($headerleft) ) { $grid_center = 9; } ?>
<?php $grid_center = 11; ?>
<div class="col-sm-<?php echo $grid_center; ?>">
<div class="row">
<?php
$grid_header_top = 12;
$grid_content_right = 3;
$header_right = $modules_old_opencart->getModules('header_right');
if( count($header_right) ) {
if($grid_center == 9) {
$grid_header_top = 8;
$grid_content_right = 4;
} else {
$grid_header_top = 9;
$grid_content_right = 3;
}
}
?>
I am using Kingstore lite template and would like to hide the header left (categories) and have the slideshow and two banners
I do not want to have white space where categories previous exists.
I do comment this line an try to play with the css class
How can i have the slide show fullwidth without the categories ? (http://themeglobal.com/opencart/kingstore/doc/#!/layout)
<?php //$grid_center = 12; if( count($headerleft) ) { $grid_center = 9; } ?>
<?php $grid_center = 11; ?>
<div class="col-sm-<?php echo $grid_center; ?>">
<div class="row">
<?php
$grid_header_top = 12;
$grid_content_right = 3;
$header_right = $modules_old_opencart->getModules('header_right');
if( count($header_right) ) {
if($grid_center == 9) {
$grid_header_top = 8;
$grid_content_right = 4;
} else {
$grid_header_top = 9;
$grid_content_right = 3;
}
}
?>
To solve this problem you can install my free extension Custom CSS and add below code
Code: Select all
#header_left {
display: none !important;
}
#header_left ~ div.col-sm-9 {
width: 100% !important;
}
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
Who is online
Users browsing this forum: No registered users and 4 guests