commenting out font size causes javascript problem

Everything to do with Joomla! 2.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
marinos
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Mon Jun 07, 2010 5:40 am

commenting out font size causes javascript problem

Post by marinos » Thu Oct 25, 2012 12:49 pm

Hi all

Ok I have removed the fontsize in beez20 size by commenting it out like this

changed

Code: Select all

<div id="fontsize">
to

Code: Select all

<!-- <div id="fontsize"></div> -->
But its causing me problems with other components

its completely stopping the recaptcha from showing on my registration page making it impossible to register

and its stopping the kunena forum toolbar from loading

is there a better way to get rid of the fontsize module above the search bar besides the method above?

User avatar
joomkruno
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 248
Joined: Mon Oct 18, 2010 12:02 pm
Location: Croatia

Re: commenting out font size causes javascript problem

Post by joomkruno » Thu Oct 25, 2012 1:37 pm

Have you tried just to add a style to hide it? :eek:

Code: Select all

<div id="fontsize" style="display:none;">
We are born naked, wet and hungry. Then things get worse.

marinos
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Mon Jun 07, 2010 5:40 am

Re: commenting out font size causes javascript problem

Post by marinos » Thu Oct 25, 2012 2:07 pm

Brilliant that worked great, font sizing gone, both kunena text toolbar still loading and recaptcha working.

just in case someone makes the same mistake i did remember to include the closing div

ie:

Code: Select all

<div id="fontsize" style="display:none;"></div>
Thank you joomkruno :)

User avatar
joomkruno
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 248
Joined: Mon Oct 18, 2010 12:02 pm
Location: Croatia

Re: commenting out font size causes javascript problem

Post by joomkruno » Thu Oct 25, 2012 2:24 pm

Glad to help ;)
We are born naked, wet and hungry. Then things get worse.


Locked

Return to “Templates for Joomla! 2.5”