Removing Products hover effect with CSS only

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeRemoving Products hover effect with CSS only

This topic has been marked as not a support question.

Hi there,

How can I remove products hover effect only in one store in a multistore installation without changing any php code, just with custom CSS Stylesheet?

I’ve seen in the forum how it’s done changing php code but that will not work for me because I have a multistore installation and I want to keep that effect for the other stores.

Perhaps that’s something you should consider adding to the Control Panel in a next upgrade, I mean a On/Off switch for that effect in particular.

Anyway, great job you people have done with this theme… I must say.

Jose

 Jose
February 27, 2013 at 11:53 pm #19551

Hello Jose,

We have discussed how to remove the hover effect here:

http://support.themeburn.com/topic/products-listing-remove-product-hover

Unfortunately, there is no way to check within the files, which store is running.

Best,
ThemeBurn team

March 4, 2013 at 11:22 am #19710

Thanks for the reply and help.

I didn’t get your reply through mail which is odd.

Ok. It would be good to add this feature to the future releases because customers in a multistore installation may want to have the effect on one store and not on the other.

All the best

Jose

 Jose
March 12, 2013 at 12:23 pm #20134

I’ve commented the following code but I don’t know what am I doing wrong that it’s not working.


<!--<?php if ($is_touch == '0'): ?>
.s_item:hover {
  z-index: 10;
  background: #fff;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  -o-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}
<?php endif; ?>-->

 Jose
March 12, 2013 at 12:48 pm #20148

Sorry… my bad…

It’s all good.

I’m not a developer but this is kind of basic..

Commenting PHP is different


/*<?php if ($is_touch == '0'): ?>
.s_item:hover {
  z-index: 10;
  background: #fff;
  border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  -o-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}
<?php endif; ?>*/

 Jose
March 12, 2013 at 1:27 pm #20155
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.