Post by angelorigo » Thu Jun 23, 2016 10:00 am

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;
}
}
?>

New member

Posts

Joined
Thu May 19, 2016 9:12 am

Post by viethemes » Thu Jun 23, 2016 10:28 pm

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


User avatar
Active Member

Posts

Joined
Thu Jan 08, 2015 12:17 pm


Post by angelorigo » Fri Jun 24, 2016 1:48 am

Thank you i will try it . Regards

New member

Posts

Joined
Thu May 19, 2016 9:12 am
Who is online

Users browsing this forum: No registered users and 1 guest