Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

espinner
Advanced Member

159 Posts

Pre-sales questions only
(More Details...)

Posted - 10/07/2019 :  08:52:23  
My non-store pages have the right sidebar but when I add the right sidebar to the store page's the sidebar drops to the botton like there's not enough room. Is there a way to correct this?

DLSS
ECT Moderator

Canada
3935 Posts

Posted - 10/07/2019 :  09:18:35  
float the left sidebar left, and be sure the percentages of width do not exceed 100%



Mike Beebe
President,
DataLinks Software Solutions
www.dlss.ca

Rate Me Here

ASP and PHP mods - www.dlss.ca/products.asp
A Tremendous Home - www.ATremendousHome.com
Buy Cigars Online www.CigarSmokeShop.net

espinner
Advanced Member

159 Posts

Pre-sales questions only
(More Details...)

Posted - 10/07/2019 :  10:36:05  
Do you mean the right sidebar right? Would this be done in the ectcart.css file?

Vince
Administrator

42466 Posts

Posted - 10/07/2019 :  12:11:11  
It's not a good idea to add CSS to the ectcart.css file as that gets updated and overwritten in the updater process. What you do is in your .php pages, have the ectcart.css before any of your other site CSS files, and then add any changes to the site CSS file. This way you are overriding anything in the ectcart.css file.

But have you got a link to the page where this is going wrong as it may be possible to give you more specific details?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

espinner
Advanced Member

159 Posts

Pre-sales questions only
(More Details...)

Posted - 10/07/2019 :  12:16:39  
This is a typical page where I want a right sidebar and it ends up at the bottom. Thanks
https://tronitec.com/products.php?cat=Daktronics

DLSS
ECT Moderator

Canada
3935 Posts

Posted - 10/07/2019 :  12:52:53  
I just took a look. the main-col div needs a float left in your css

looks like this...



Mike Beebe
President,
DataLinks Software Solutions
www.dlss.ca

Rate Me Here

ASP and PHP mods - www.dlss.ca/products.asp
A Tremendous Home - www.ATremendousHome.com
Buy Cigars Online www.CigarSmokeShop.net

Edited by - DLSS on 10/07/2019 12:56:57

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 10/07/2019 :  13:00:03  
Hi the problem appears to be with the div where the main content is placed try making the following change to the code on the page and everything should pop in place.
change this:

<div id="main-col">
<div id="content">

to
<div id="content" class="grid col-860" role="main">

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

espinner
Advanced Member

159 Posts

Pre-sales questions only
(More Details...)

Posted - 10/09/2019 :  08:18:05  
I made the new setting and I'm still getting the menu's below. https://tronitec.com/products.php?cat=Daktronics

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 10/09/2019 :  11:26:15  
Hi can you add the following class to the style sheet

div#content.grid.col-860 {
width: 60%;
float: left;
}

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

espinner
Advanced Member

159 Posts

Pre-sales questions only
(More Details...)

Posted - 10/09/2019 :  11:54:21  
I tried adding to style.css and also ectcart.css but there was no effect to sidebar. Was there another place I should add?

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 10/09/2019 :  12:51:24  
I'm not seeing it in the file style.css check that you have placed it in the top section before any media queries for smaller screens start. Also if using ftp to upload style.css make sure you uploading to the correct location on the server.

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000