jDiction Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

jDiction 2.2.0 released. http://jdiction.org/downloads

Author Topic: Flag size  (Read 17019 times)

AR

  • Newbie
  • *
  • Posts: 2
    • View Profile
Flag size
« 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?
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Flag size
« Reply #1 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

AR

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Flag size
« Reply #2 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.

Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Flag size
« Reply #3 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
Logged
Joomla! 5.0 Release Manager
Vote at JED

vaia1313

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Flag size
« Reply #4 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
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Flag size
« Reply #5 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.
Logged
Joomla! 5.0 Release Manager
Vote at JED

farinhabb

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: Flag size
« Reply #6 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?
Logged

Harald Leithner

  • Administrator
  • Hero Member
  • *****
  • Posts: 1688
    • View Profile
Re: Flag size
« Reply #7 on: October 24, 2013, 10:15:27 pm »

you have to create this folder.

Logged
Joomla! 5.0 Release Manager
Vote at JED