#module

  • Posts: 222
  • Thank you received: 1
11 years 6 months ago #102524

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:

#module_96. hikashop_product_name{
font-size: 11px;
margin-left: 0px;
margin-right: 0px;}
But nothing changes. Then I tried different variants, such as:
#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: 11 years 6 months ago by Jerome.

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 6 months ago #102548

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:
#module_96 .hikashop_product_name{
Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 11 years 6 months ago by Jerome.

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

  • Posts: 222
  • Thank you received: 1
11 years 6 months ago #102554

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.

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 6 months ago #102558

Hi,

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

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 222
  • Thank you received: 1
11 years 6 months ago #102569

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.

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 6 months ago #102576

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

#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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 222
  • Thank you received: 1
11 years 6 months ago #102735

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.066 seconds
Powered by Kunena Forum