jDiction Forum

English => General Questions => Topic started by: AR on February 17, 2013, 10:06:31 pm

Title: Flag size
Post by: AR on February 17, 2013, 10:06:31 pm
Is it possible to change the size of the flags?
The size of the flags are rather small to operate on a tablet like an iPad.
Can I change this in the ccs?
Or, even better, can you to add an option to the module settings to set the size of the flags?
Title: Re: Flag size
Post by: Harald Leithner on February 18, 2013, 04:05:37 pm
The flags have a small resolution so resizing them may end in bad looking images...

You can change the size by css or better replace the icons with your own.
Title: Re: Flag size
Post by: AR on February 19, 2013, 09:57:19 pm
As you suggested I've replaced the icons by my own (bigger) icons and changed the CSS.
Thanks.

Title: Re: Flag size
Post by: Harald Leithner on February 19, 2013, 11:15:17 pm
maybe its better to override the layout file because if you update jdiction would override your changes.

templates/<yourtemplate>/html/mod_jdlanguage/default.php

this is the path you need

source modules/mod_jdlanguage/tmpl/default.php
Title: Re: Flag size
Post by: vaia1313 on June 14, 2013, 09:01:18 am
As you suggested I've replaced the icons by my own (bigger) icons and changed the CSS.
Thanks.

Hallo,can you tell me please in which css should I change my settings and where?.I have made my flag pictures bigger and replace them but they still have the same margins as before. Thank you
Title: Re: Flag size
Post by: Harald Leithner on June 14, 2013, 10:42:13 am
We use inline css for the languageswitcher, you can override the template by copying the file
modules/mod_jdlanguage/tmpl/default.php
to
templates/your_template/html/mod_jdlanguage/default.php

and modify it like you need it.
Title: Re: Flag size
Post by: farinhabb on October 24, 2013, 09:53:19 pm
Hi

I use joomla 3.1.5 and t3 framework. I canĀ“t find the
"templates/your_template/html/mod_jdlanguage/default.php" folder.
Is it the "tpls" folder?
Title: Re: Flag size
Post by: Harald Leithner on October 24, 2013, 10:15:27 pm
you have to create this folder.