Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2007
    Posts
    68
    Plugin Contributions
    1

    red flag language Stylesheet not working?

    HI

    I am attempting to adjust input boxes and labels on the login page and it I place the following in to the classic/stylesheet.css the position in the Hebrew Cart works fine however in the English Cart obviously its backwards.

    LABEL.inputLabel {
    width: 9em;
    float: right; }

    If I switch to float: left; in the stylesheet.css and then place it only in the classic/hebrew_stylesheet.css it has no effect on either carts?? The english shows correctly and the Hebrew is backwards??



    Suggestions as to what I'm doing wrong?


    Regards

    Meir Rotfleisch

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,655
    Plugin Contributions
    25

    Default Re: language Stylesheet not working?

    Anything you put in stylesheet.css will be applied to both the carts for both languages, over-writing any styles defined earlier for either of them.

    Instead I recommend taking this styling out of stylesheet.css and putting is as float:right in hebrew.css and creating a new english.css and putting it in there as float:left.
    See and test drive Zen Cart's free templates at zencarttemplates.info

    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jun 2003
    Posts
    33,825
    Plugin Contributions
    0

    Default Re: language Stylesheet not working?

    ...and I really hope you are using a CUSTOM template and not the default for your customizations.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  4. #4
    Join Date
    Apr 2007
    Posts
    68
    Plugin Contributions
    1

    Default Re: language Stylesheet not working?

    Quote Originally Posted by Kim View Post
    ...and I really hope you are using a CUSTOM template and not the default for your customizations.
    Hi Kim,

    Thanks for your tip. Can you elaorate on which directory and what name I should be using as CUSTOM templates?????

    Regards

    Meir

  5. #5
    Join Date
    Apr 2007
    Posts
    68
    Plugin Contributions
    1

    Default Re: language Stylesheet not working?

    Quote Originally Posted by kuroi View Post
    Anything you put in stylesheet.css will be applied to both the carts for both languages, over-writing any styles defined earlier for either of them.

    Instead I recommend taking this styling out of stylesheet.css and putting is as float:right in hebrew.css and creating a new english.css and putting it in there as float:left.
    Hi Kuroi,
    Thanks for your previous answer..

    You mention hebrew.css shouldn't the file name be hebrew_stylesheet.css? and in what directory should that be in?

    Looking forward to your response...
    Regards
    Meir

  6. #6
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,655
    Plugin Contributions
    25

    Default Re: language Stylesheet not working?

    On re-reading your original post. What you did the second time should have worked. I would need to see you site to comment further on this, though what I proposed should also work (with the correction that you pointed out in place i.e. hebrew_stylesheet.css and english_stylesheet.css).

    You shouldn't leave you changes in the classic directories since those that form part of the Zen Cart distribution will be over-written when you upgrade. For example you would lose all the changes you have made to your stylesheet.css. Instead you should create parallel directories called whatever you wish to call them (provided your server can recognise and work with the directory name) and then select what will, in effect, be a new template at Admin > Tools > Template Selection. There's more on this in the FAQ.
    See and test drive Zen Cart's free templates at zencarttemplates.info

    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  7. #7
    Join Date
    Apr 2007
    Posts
    68
    Plugin Contributions
    1

    Default Re: language Stylesheet not working?

    Hi Kuroi,

    Firstly Thanks for your input. I managed to finally get the cart to respond the way I want in both languages HOWEVER I did it within the classic directory!

    There are also stylesheet.cc and hebrew_stylesheet.css and print_stylesheet. in the templates_default so I'm still trying to understand which are needed etc and how I can guarantee that the changes I made for the Hebrew Cart will remain in the future?


    Also since I have made many corrections fixes etc to the original hebrew pack that I downloaded I would like to add it to the zen cart downloads.. How does one go about doing that??



    Looking forward to your response.
    Meir Rotfleisch
    May The Power of the Zen Be With You!
    http://www.discoverwellness.biz

  8. #8
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,655
    Plugin Contributions
    25

    Default Re: language Stylesheet not working?

    To protect your changes, you must move them out of classic directory as per my previous post. Don't worry about stylesheets in template_default, they will be ignored in favour of the ones in the template that you create once it is enabled (currently they're being ignored in favour of the ones in the classic template).

    To submit an updated hebrew language pack, simply go to the pack's download page and click on the "Add an updated Version" link.
    See and test drive Zen Cart's free templates at zencarttemplates.info

    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Blank Catalogue; but Working Admin
    By pepamilk in forum General Questions
    Replies: 3
    Last Post: 7 Nov 2006, 05:46 AM
  2. Replies: 4
    Last Post: 28 Oct 2006, 12:05 AM
  3. Overriden Language define not working...
    By dhermanus in forum General Questions
    Replies: 0
    Last Post: 4 Oct 2006, 01:44 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
  •