Skip to main content

#module

More
13 years 5 months ago - 13 years 5 months ago #102524 by Vero
#module was created by Vero
Hi,

I found an example in documentation, how can I change something in module:
# module_25. hikashop_ ......

In "recently viewed" module I want to change layout of the name of product, so I entered this code:
Code:
#module_96. hikashop_product_name{ font-size: 11px; margin-left: 0px; margin-right: 0px;}
But nothing changes. Then I tried different variants, such as:
Code:
#module_96. hikashop_product_name a{... #hikashop_module_96. hikashop_product_name{... #hikashop_module_96. hikashop_product_name a{...
but nothing helps.

What am I doing wrong?

Vero
Last edit: 13 years 5 months ago by Jerome.

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

More
13 years 5 months ago - 13 years 5 months ago #102548 by Jerome
Replied by Jerome on topic #module
Hi,

The code you use is not correct, the point is not right placed:

#module_96. hikashop_product_name{

With this, it will be better:
Code:
#module_96 .hikashop_product_name{
Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Last edit: 13 years 5 months ago by Jerome.

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

More
13 years 5 months ago #102554 by Vero
Replied by Vero on topic #module
Sorry, I have the point right placed, I have here (in forum) not right the point placed.
Vero

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

More
13 years 5 months ago #102558 by Jerome
Replied by Jerome on topic #module
Hi,

Ok.
So, are you sure that your module id is the 96 ?

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

More
13 years 5 months ago #102569 by Vero
Replied by Vero on topic #module
Yes, I am. I have 3 modules in 3 languages. Id are 96, 151 and 152. And all 3 not change.

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

More
13 years 5 months ago #102576 by Jerome
Replied by Jerome on topic #module
Hi,

Did you take a look at our FAQ on CSS ?
www.hikashop.com/en/support/documentation/faq.html#css

You can take a open our demo website, on the bottom you will find the "Featured products" module.
By regarding the source code (or using a "DOM inspector" with your favorite internet browser), you will that that its ID is "hikashop_module_122" and it contains a span with class "hikashop_product_name" so it is possible to right the rule
Code:
#hikashop_module_122 .hikashop_product_name { font-size:11px; }
But without any information on your website, I can't help you more.
CSS is depending on each website, maybe you need to set the "!important" keyword.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

More
13 years 5 months ago #102735 by Vero
Replied by Vero on topic #module
Thanks, it's now ok. The code have to be little bit longer with a and a:link.

Thanks,
Vero

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

Time to create page: 0.101 seconds
Powered by Kunena Forum