Stylesheet question

User 2642995 Photo


Registered User
82 posts

Hi,

I'm trying to edit the default.css so that my product images while on a category page centered. I fooled around with it in Chrome's default editor, and was able to do it by changing the text-align to center, but I can't figure out what div id that is, since there's soooooo many div ids. I know it's one of the .scs_productlist...I think it's _item, but I'm not sure. I don't what everything on the page to align to the center, just the products.

fsportswear.com
User 187934 Photo


Senior Advisor
20,188 posts

Do you have SCDP?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2642995 Photo


Registered User
82 posts

Yes I do, but it seems like nothing I do fixes the issue, I've been playing around with it for months.
User 187934 Photo


Senior Advisor
20,188 posts

Can you give me a link to the page you actually want this on? I want to make sure I'm on the same path as you.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2642995 Photo


Registered User
82 posts

Eric, here's an example (although every category and subcategory will need this

http://www.fsportswear.com/viewcategory.php?groupid=14
User 2642995 Photo


Registered User
82 posts

Basically I want the items to align in the center, and when I use SCDP it only lets me go so far with them, no matter what variables I adjust like margins/padding. And when I get it close, then other parts of other pages (like the shop home or cart) get screwed up.
User 187934 Photo


Senior Advisor
20,188 posts

Try adding this the head in SCCP

#scs_content {
margin: auto;
width: 486px;
}
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2642995 Photo


Registered User
82 posts

Thanks Eric, I'll give it a shot at work later and let you know my results....also, one quick question...I'm planning on attempting to add images that change with the drop down (options) menu selectionbs (like red/white, black/whte...ect)..for the products. I've read you're tutorial on http://progrower.coffeecup.com/shop/viewitem.php?productid=45&groupid=17, but I guess I want to know if that can be used with my site considering how many products (and basically product pages) that I have?
User 187934 Photo


Senior Advisor
20,188 posts

Sure Copy the code to each page and adjust the
var sImage = "productimages/" + selIndex + ".gif";
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2642995 Photo


Registered User
82 posts

So I'll have to do this outside of Shopping Cart Creator Pro (which is cool, just making sure)?

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.