Welcome Visitor, Please Login or Register Now Sunday, June 16, 2024 11:09 AM 
Forums Index > Mewsoft Products > Auctionawy > Different CSS to different language
New Topic   New Reply
Search for:
Author Message
w2009w w2009w's personal page
Registered Member
Posts: 31 Display member's posts
Joined: 11-09-08 07:05 AM
Member Offline
View Member's Profile Send private message
 
Back to top
Different CSS to different language Edit Delete Reply with quote Quote
First Post Posted on: 08-03-16 04:19 AM next post first post

Code: HTML    Select All    Expand All
Hi, 
I want to use different CSS for different language, which is basically copied from the default and then modify it according to new language. 
Should I do this by create new theme ? Could you tell me please how to do this...
Thanks

mewsoft mewsoft's personal page
Administrator Team Member
Posts: 5381 Display member's posts
Joined: 06-16-24 11:09 AM
Location: knxoville, TN, USA
Member Offline
View Member's Profile Visit member's website Mewsoft Corporation Send private message ICQ Messenger: ICQ AIM Messenger: AIM YIM Messenger: Yahoo MSN Messenger: MSN
 
Back to top
Re: Different CSS to different language Edit Delete Reply with quote Quote
Reply #: 1 Posted on: 08-03-16 03:29 PM next post previous post

Hello,

The Auction software already comes with a commented line in the head or header widget for

the rtl langs, you can enable it and it will just add the css for the rtl langs.

if you want full css for each langauge, if you are using a new theme for each langauge then you should

have no problem as you will customize the css files in the theme folders. But if you want to

use the same theme for more than one language, then you will have to use/add a new langauge

variables say in the General.pm langauge file and set it equal to the css file name for that theme

then in the header widget use that langauge variabale, say for example

<style .... src="[[css_file]]" ...>

and in the General langauge file add the new variable:

css_file=theme_style.css

do this addition for each langauge you want to use with the theme.

Thanks



Mewsoft Support
www.mewsoft.com

w2009w w2009w's personal page
Registered Member
Posts: 31 Display member's posts
Joined: 11-09-08 07:05 AM
Member Offline
View Member's Profile Send private message
 
Back to top
Re: Different CSS to different language Edit Delete Reply with quote Quote
Reply #: 2 Posted on: 08-16-16 06:01 AM next post previous post
Beautiful, thank you Ahmed...
I have another issue; I appreciate your reply...
When roll the pointer over on the main category “at the home page” there are no sub-categories
showing, but when click on any category and go inside, you see the sub-categories once you rollover!

Same thing on your demo site, when you move the pointer on Music on the home page, nothing
happen,... click on Music and roll over, the sub-music list appears.
How can I make sub-categories appears when roll over on the home page?

Thanks
mewsoft mewsoft's personal page
Administrator Team Member
Posts: 5381 Display member's posts
Joined: 06-16-24 11:09 AM
Location: knxoville, TN, USA
Member Offline
View Member's Profile Visit member's website Mewsoft Corporation Send private message ICQ Messenger: ICQ AIM Messenger: AIM YIM Messenger: Yahoo MSN Messenger: MSN
 
Back to top
Re: Different CSS to different language Edit Delete Reply with quote Quote
Reply #: 3 Posted on: 08-16-16 07:45 AM last post previous post

Yes this is correct. The default cats tree levels are only one level, you can change this

in the template Frontpage, find this:

[ gadget::CategoriesVertMenu(Parent=0, Levels=0,


then set the Levels=0 to Levels=1 or more, this sets the levels of the cats menu.

The more you set the slower will be since these cats will be loaded from the database and parsed to

the the JS tree menu in this gadget. So becareful if you have many categories.

Thanks


Mewsoft Support
www.mewsoft.com

Page 1 of 1
Go to page:

New Topic   New Reply Mark Unread
Jump to:  
Delete   Move     Lock   +Favorits   +Notify   Print