Stop Hikashop CSS-Style in <head>

  • Posts: 9
  • Thank you received: 0
11 years 2 weeks ago #168968

-- HikaShop version -- : HikaShop Business: 2.3.2
-- Joomla version -- : 3.2.2

How do i stop Hikashop displaying this in the <head> (see img as well):
<style type="text/css">

#hikashop_category_information_module_119 div.hikashop_subcontainer,#hikashop_category_information_module_119 div.hikashop_subcontainer span {
text-align:center;
}
#hikashop_category_information_module_119 div.hikashop_container {
text-align:center;
}

#hikashop_category_information_module_119 div.hikashop_container {
margin:0px 0px;
}
#hikashop_category_information_module_119 div.hikashop_category,#hikashop_category_information_module_119 div.hikashop_product{
float:left;
}
#hikashop_category_information_module_119 .hikashop_subcontainer {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
-khtml-border-radius: 5px;
border-radius: 5px;
}
</style>

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 2 weeks ago #168980

Hi,

You will have to do an override on the file "administrator/components/com_hikashop/helpers/module.php" function "setCSS()".
The line to comment is:

$doc->addStyleDeclaration($css);

The following user(s) said Thank You: Skopljak

Please Log in or Create an account to join the conversation.

  • Posts: 9
  • Thank you received: 0
11 years 2 weeks ago #169111

yeah - thanks a ton!!!! helped me a lot!!!!

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum