View Single Post
  #2  
Old 10-02-2013, 10:13 AM
Maya's Avatar
Maya Maya is offline
Ecwid Team
 
Join Date: Feb 2010
Location: Ecwid headquarter
Posts: 5,876
Default

Quote:
Originally Posted by Cynthia Daniel View Post
I changed something, who knows what, to make the product name be centered below the thumbnail in grid view.

However now it is also centered in List view and I want it left justified in List view.

http://portraitartist.com/sargent2/videos.asp
Hello,

In order to center product name on grid view only, you should use following code in the custom CSS theme of your store:
Code:
div.ecwid-productBrowser-productsGrid-productBottomFragment div.ecwid-productBrowser-productNameLink {
text-align: center;
}
If you want to remove centering for product title on other views, you should remove the style that I have marked red from the CSS code below (You can find it in your custom CSS theme too):
[code]
div.ecwid-productBrowser-productNameLink a,
div.ecwid-productBrowser-productNameLink a:active,
div.ecwid-productBrowser-productNameLink a:visited {
font: normal 14px georgia, times new roman, serif;
color: #B07E36;
text-decoration: none;
text-align: center;
}
__________________
Maya N., Ecwid Team

------------------
Welcome to our new Help Center!