Simple? Can I stop my custom Login icons resizing?

15 years 4 months ago #84183 by jack.wh
I am running CB 1.2 RC4 on my new website, using the CB Login module, the latest one.

I didn't like the login icons so I replaced them with my own 16x16 ones.

Unfortunately they come out looking all yucky because CB Login RESIZES them for me!

How can I keep them at the default size of 16x16?

Many thanks. :)

Attached is a screenshot showing what I mean.
Attachments:

Please Log in to join the conversation.

15 years 4 months ago #84187 by nant
sounds like your template ...

do things work ok with default joomla template?

Please Log in to join the conversation.

15 years 4 months ago #84193 by jack.wh
Template, hmmm? I'll just find out...

--

Changed to default Joomla template - rhuk_solarflare_ii - and tried madeyourweb also... but no luck!

They both do the same thing, stretching the icons...

Is there something in the code for the login module? :ohmy:

Thank you for your help so far. ;)

Edit: I've noticed the icon on the login button itself always comes out the right size, it's just the buttons next to the inputs and links that are weird...

Post edited by: jack.wh, at: 2009/01/05 15:34

Please Log in to join the conversation.

15 years 4 months ago #84203 by nant

Please Log in to join the conversation.

15 years 4 months ago #84214 by jack.wh
Thank you for your help but it's OK now, I've fixed it just fine B)

In "mod_cblogin.php" it defined the size of the icons... I did a search & replace and changed all 20x25s to 16x16s, and it's working great now :)

Thank you for your help though! :)

Please Log in to join the conversation.

15 years 4 months ago #84225 by beat
Yup, that's done that way in CB login, because:

- with no size things move around until image size gets known

- joomla 1.0 and mambo modules can't have a CSS file or CSS header

Beat - Community Builder Team Member

Before posting on forums: Read FAQ thoroughly -- Help us spend more time coding by helping others in this forum, many thanks :)
CB links: Our membership - CBSubs - Templates - Hosting - Forge - Send me a Private Message (PM) only for private/confidential info

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.205 seconds

Facebook Twitter LinkedIn