Link to home
Start Free TrialLog in
Avatar of Amanda Watson
Amanda WatsonFlag for Australia

asked on

The code for this module doesn't seem to work..can someone please help?

I am working on a site
http://murraygrey.com.au/joomla

When you select the menu items underneath the image, which have icons...for Example, Members Forms and Calendar of Events...the links change depending on what page you are on.

This is very frustrating.

They are modules and the code for one of the modules is here:

<div class="featured-2 png"></div><span class="featured-header"><a href"http://murraygrey.com.au/joomla/index.php?option=com_content&view=article&id=81">Members Forms</a></span>

So the link I would expect is listed there.....but it doesn't happen!!

Can someone please shed some light as to how to fix this please.

Avatar of wickedpassion
wickedpassion
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi,

if I'm very much mistaken this is the Catalyst template or at the very least a highly modified version of it!

When you modified these modules did you have the WYSIWYG Editor turned off.

Tip:

With RT templates it is always best to turn the editor off especially when viewing a module for the first time as if any Java is contained within the code (the Advert 1 - Advert 4 modules do have Java in them!) the WYSIWYG will strip this code from the module!

I have used this template myself on a number of occasions and the icons that you are talking about should jump when you mouse over them. Generally when the jump effect does not occur it indicates that editing has occurred with WYSIWYG on!!

Lee

Actually in hind site there doesn't appear to be anything wrong with the code!

Have you tried re-inserting some of the original info i.e.

<span class="featured-desc">We are the absolute best at what we do!</span>

And rather than link through anchor text use the image itself?

Obviously you'll need to change the above to ''Members Forms''
Avatar of Amanda Watson

ASKER

Where would you link in the image?
And also...I turned the animation off at this stage so the hover doesn't make the icons jump!
Finally, yes I have also turned off the WYSIWYG editor which needed to be done to get the links in the text in the first place!  The icons are appearing based on the CSS, so I am not sure how to link the icons?
ASKER CERTIFIED SOLUTION
Avatar of wickedpassion
wickedpassion
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
When that's done you'll now notice that the text in those spans will now also have an underline when moused over (due to the link), so if you want to remove this behavior, add a text-decoration:

none to the #featured-mod a class in the template_css.css at approx line 752:

See below:


#featured-mod a {
   color: #fff;
        text-decoration: none;
}

Open in new window

So was the very small difference:

<div class="featured-2 png"></div><span class="featured-header"><a href"http://murraygrey.com.au/joomla/index.php?option=com_content&view=article&id=81">Members Forms</a></span>

<div class="featured-2 png"></div><a href="http://murraygrey.com.au/joomla/index.php?option=com_content&view=article&id=81"><span class="featured-header">Member Forms</span></a>


Is where the featured-header tag is....was that it?/

It is working now!!

Great response, very thorough!! Obviously knows what they are talking about A++
Yes the positioning of the tag was the small difference!

Thanks for your closing comment snowball77!

Lee