Member Login

You are not currently logged in.






» Register
» Lost your Password?

The column width is lost on sub-pages of Shopp main page | Start Building Your Website Here | Forum

Welcome to our Members Only Forum

You are welcome to view the content on our Forum, just scroll down to view this forum post.
If you like what you find and want to be able to post a question, please check out our subscription options.
Please feel free to search the forum using either the Google Site Search above or the forum search below.

For a Limited Time Only

Join our Community for as little as
$0.43 PER DAY!
THIS OFFER EXPIRES May 31st!


 
You must be logged in to post


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

The column width is lost on sub-pages of Shopp main page

No Tags
UserPost

5:23 am
February 20, 2012


Svein Gullby

Member

posts 33

1
0

Post edited 6:37 am – February 20, 2012 by Svein Gullby


I've made a custom template for my Shopp system but when I enter the sub-pages (like i.e. Cart) the column width is *not* kept.

Why is this and how do I adjust so that the column width is kept? The Cart page has the Shopp main page as "parent" and the template settings is "Standard Template".

You can view the Shopp main page here and also the sub-pages (Cart, Checkout etc)

https://www.ringstrom-antikvariat.no/shop/

http://www.ringstrom-antikvari…..shop/cart/

6:48 am
February 20, 2012


Rick Anderson

Edmonds, WA

Admin

posts 3156

2
0

However, your custom css code is applied to pages with the body class "shop".  This body class isn't assigned to the cart page.  You can see that in action using Firebug and look at the body class.

11:26 am
February 20, 2012


Svein Gullby

Member

posts 33

3
0

Rick, thank you. I can see through Firebug that the declaration <body class="custom cart"> is the class declaration for the cart page.

Which is the easiest (best) method to change the css code so that the cart page is displayd with the same css settings as the shop main page?

8:17 am
February 21, 2012


Rick Anderson

Edmonds, WA

Admin

posts 3156

4
0

Probably the easiest is to add an additional selector to your rule:

 

.custom.shop #content,
.custom.cart #content
{
   float:left;
   width:72em;
}
.custom.shop #sidebars,
.custom.cart #sidebars 
{
   width:22em;
}
 

12:22 am
February 22, 2012


Svein Gullby

Member

posts 33

5
0

Rick, that worked great. The only issue I have now is that the grey line separating the sidebars from the content area is kept even on the shopp pages. Do you know how I remove this? I've tried to find the code for it using Firebug, but with no luck. The screencast shows the line.

http://www.byobwebsite.com/sup…..6f840377bd

4:21 pm
February 22, 2012


Rick Anderson

Edmonds, WA

Admin

posts 3156

6
0

Yes that is the background image for #content_box.  You can turn it off entirely in Design Options by unchecking "display interior layout and borders".

12:15 am
February 23, 2012


Svein Gullby

Member

posts 33

7
0

Thank you, Rick. You also showed me how to move the border in the webinar and the code for how you told me to do this (which worked great by the way) is below (in case other is looking for a solution to this),

In custom.css I added the following code (you can find the initial code in layout.css by using Firebug),

.custom.shop #content_box,
.custom.cart #content_box,
.custom.checkout #content_box,
.custom.account #content_box
{
    width: 100%;
    background: url('../lib/images/dot-ddd.gif') 72.8em 0 repeat-y;
}

No Tags


About the Build Your Own Business Website Forum

Forum Timezone: America/Los_Angeles

Most Users Ever Online: 38

Currently Online:
12 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 7
Forums: 40
Topics: 1646
Posts: 7185

Membership:

There are 2366 Members
There have been 3 Guests

There is 1 Admin
There are 2 Moderators

Top Posters:

Brian Tozer – 400
Reece Morrel – 285
Rachel McFadden – 143
Jackie Jacobson – 140
steve Whitehead – 134
Catherine Mulhern – 130

Recent New Members: Francisco Mogollon, amember, Tim Frisch, kay ache, Harold Goldsmith, Todd Wilson

Administrators: Rick Anderson (3156 Posts)

Moderators: Gelie Laxamana (15 Posts), Jorene Abapo (0 Posts)