Results 1 to 10 of 10
  1. #1
    Join Date
    Aug 2010
    Posts
    7
    Plugin Contributions
    0

    help question Product name, description and price css style help

    Product name, description and price css style will only text-align:left. I would like it to all be centered.

    I have looked through the stylesheet_main.css to resolve this issue but no matter what I am doing it doesn't change the look to centered.

    You can refer to this link:
    http://goodietins.com/catalog/index....ort=20a&page=3

    The product of the tin named" Baby Girl Keepsake
    Personalized" shows this reference I trying to change.

    I hope someone can help, very new to zen cart and would appreciate your help.

  2. #2
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Product name, description and price css style help

    Quote Originally Posted by GoodieTins View Post
    Product name, description and price css style will only text-align:left. I would like it to all be centered.

    I have looked through the stylesheet_main.css to resolve this issue but no matter what I am doing it doesn't change the look to centered.

    You can refer to this link:
    http://goodietins.com/catalog/index....ort=20a&page=3

    The product of the tin named" Baby Girl Keepsake
    Personalized" shows this reference I trying to change.

    I hope someone can help, very new to zen cart and would appreciate your help.
    .centeredContent {
    text-align:center;
    }

    is this what you were wanting? try it add it to the very bottom of your stylesheets, it seems to work for me testing with dragonfly

  3. #3
    Join Date
    Aug 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: Product name, description and price css style help

    nigelt74:

    Yes, but not sure what I am doing wrong that I can't seem to find the style code to change.

  4. #4
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Product name, description and price css style help

    Quote Originally Posted by GoodieTins View Post
    nigelt74:

    Yes, but not sure what I am doing wrong that I can't seem to find the style code to change.
    I am not sure i am understanding you
    add it in your stylesheet,
    cut and past the entire block of code into the bottom of your stylesheet

  5. #5
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Product name, description and price css style help

    Ok try this,

    Open this file

    includes/templates/theme352/css/stylesheet.css


    .centeredContent {
    text-align:center;
    }

    and paste the following at the very bottom of the page, the classes are already on the product pages but the styles need to be created, which is what the above does

  6. #6
    Join Date
    Aug 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: Product name, description and price css style help

    nigelt74:

    No ;+( it didn't work. Very weird.

  7. #7
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Product name, description and price css style help

    Quote Originally Posted by GoodieTins View Post
    nigelt74:

    No ;+( it didn't work. Very weird.
    What did it do?

    Could you please put the rule back in the stylesheet and upload it
    , so i can check to see if something is over ruling it

  8. #8
    Join Date
    Aug 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: Product name, description and price css style help

    nigelt74: : THANK YOU VERY MUCH!!!

    It worked! It was an error on my part.

    You Rock!

  9. #9
    Join Date
    Aug 2010
    Posts
    7
    Plugin Contributions
    0

    Default Re: Product name, description and price css style help

    Quote Originally Posted by nigelt74 View Post
    What did it do?

    Could you please put the rule back in the stylesheet and upload it
    , so i can check to see if something is over ruling it


    Thank you very much. It was just an upload issue on my end. It worked out perfectly.

  10. #10
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Product name, description and price css style help

    Quote Originally Posted by GoodieTins View Post
    Thank you very much. It was just an upload issue on my end. It worked out perfectly.
    Good to hear

 

 

Similar Threads

  1. Help with Meta name description and keywords
    By bedlamite in forum Basic Configuration
    Replies: 12
    Last Post: 15 Nov 2013, 02:25 AM
  2. v151 query from a category its products name, price, image, description and attributes
    By cmsdeployed in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Jul 2013, 07:21 PM
  3. Product Info: product name and description not saving
    By sharc316 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 27 Sep 2011, 04:56 PM
  4. Product name and description lost?
    By sunrise99 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 8 Jan 2011, 12:13 AM
  5. need help with product description style
    By solokkhz in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Jul 2007, 09:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR