Results 1 to 6 of 6
  1. #1
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Spaces in Product Names

    http://familytraditionwreaths.com/ba...as-wreath.html

    My product names have spaces between each word that are not supposed to be there

    Any idea why

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Spaces in Product Names

    You have:
    text-align: justify;

    in parent elements of your stylesheet. There is only ONE space between the words, but you are forcing the line to justify.

    AND - I notice you have PASTED stuff in from TESTIMONIALS MANAGER README

    PHP Code:
    metatags

    //TESTIMONIALS:
    case 'testimonials_manager_all_testimonials':

    $sql "select * from " TABLE_TESTIMONIALS_MANAGER " where status = 1 and language_id = '" . (int)$_SESSION['languages_id'] . "' order by date_added DESC, testimonials_title";
    $testimonials $db->Execute($sql);
    while (!
    $testimonials->EOF) {
      
    $testimonial_string_metatags .= zen_clean_html($testimonials->fields['testimonials_title']) . METATAGS_DIVIDER;

        
    $testimonials->MoveNext();
        
    //EOF
        
    define('META_TAG_TITLE'META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS $testimonial_string_metatags);
        
    define('META_TAG_DESCRIPTION'META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS $testimonial_string_metatags);
        
    define('META_TAG_KEYWORDS'META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER_ALL_TESTIMONIALS $testimonial_string_metatags);
    break;

    case 
    'testimonials_manager':
        
    define('META_TAG_TITLE'META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER $page_check->fields['testimonials_title']);
        
    define('META_TAG_DESCRIPTION'META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER zen_trunc_string($page_check->fields['testimonials_html_text'],TESTIMONIALS_MANAGER_DESCRIPTION_LENGTH));
        
    define('META_TAG_KEYWORDS'META_TAG_TITLE_PAGE_TESTIMONIALS_MANAGER $page_check->fields['testimonials_title']);
    break; 
    What's this stuff doing in a stylesheet?

  3. #3
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Re: Spaces in Product Names

    hmm good question on the testimonial stuff

    Also what should the text align be at instead of justify?

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Spaces in Product Names

    If you need to learn CSS, there are some good tutorials at w3schools.com

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Spaces in Product Names

    Zencart is trying mightily to do what you asked it to. You'll probably need to remove .centerColumn from this:

    .centerColumn, #bannerOne, #bannerTwo, #bannerThree, #bannerFour, #bannerFive, #bannerSix {
    padding: 0.8em;
    text-align: justify;
    }

  6. #6
    Join Date
    Sep 2005
    Posts
    912
    Plugin Contributions
    1

    Default Re: Spaces in Product Names

    thanks that worked

 

 

Similar Threads

  1. Tabbed Product Pro (I need spaces in my product description
    By dlwwalton in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 23 Sep 2012, 03:35 AM
  2. Product Downloads: Attribute Names vs File Names
    By SgtPepper in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 28 Jun 2011, 09:01 PM
  3. Dealing with Options Names, sort orders, when product share similar names?
    By printchic in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 15 Jun 2009, 01:53 PM
  4. Spaces disappear in Product Descriptions
    By sirluck in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Apr 2009, 02:08 PM
  5. Spaces between product listing images & also Weight
    By clikchic in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 4 Oct 2006, 06:41 AM

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