Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help!? store logo has mouseover effect


taitaiji

Recommended Posts

Posted

Hello,

 

I've posted this request in general support yesterday, and then accidently in the 3.x forum. Sorry: I don't know how to remove the old post. Anyway basically there were no replies til now.

So now I am hoping to find help here...

 

I want to remove the hover effect when I mouse over my shop logo.

The logo is treated like a clickable link.

 

I installed a theme with jquery - theme roller, could that be the reason?

 

Being an absolut newbie in programming, I have so far found all solutions to my problems through this forum and googling- but this one seems to be too tricky! I am using osC 2.3.1

 

my shop url is: k a m i k a z D O T d e / o s / c a t a l o g.

 

I have attached a screenshot of the purple hover effect.

 

Everything is still very much in babyshoes, so please forgive the many ruff edges in the shop.

...it is not open for public yet

 

Thank you very much for your help!

 

taitaiji

post-296187-0-29133800-1314874078_thumb.png

Posted

 

 

I want to remove the hover effect when I mouse over my shop logo.

The logo is treated like a clickable link.

 

 

taitaiji

 

Most surfers are likely to expect the logo to be clickable and take them to the home page. Did you want to remove the link or just the alt text?

 

Tim

Posted

Add this code at the end of stylesheet.css

 

A.plain:hover {
 color: #ffffff;
 background: #ffffff;
}

Then in /includes/header.php add the class to the logo link like this:

<?php echo '<a class="plain" href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?>

Sometimes after changing the stylesheet in order to see any change you have to hold the <Ctrl> key down while doing a page refresh in the browser to force the browser to reload all contents from the server, including the newly changed stylesheet.

 

It works in Firefox.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

YESSSSS! Thank you Jim!

 

That did the job. I am one happy newbie this morning.

 

@knifeman & fimble: I was trying to get rid of the purple "mouse over" effect. The link to homepage and text I don't mind.

I was more concerned with the aesthetics of the purple bar under the logo.

Posted

 

 

@knifeman & fimble: I was trying to get rid of the purple "mouse over" effect. The link to homepage and text I don't mind.

I was more concerned with the aesthetics of the purple bar under the logo.

 

My mistake was not going to the site to see the problem. Once there it was obvious what you wanted to remove.

 

Tim

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...