- Posts: 18
- Thank you received: 0
css different for different modules
- eliospeppe
-
Topic Author
- Offline
I, for example, set the font-size of the price in the product list
but I have another module with the same list but smaller
how do I give it a different font-size?
Thanks!!!
Please Log in or Create an account to join the conversation.
When editing a module, in the Joomla options you can set a module suffix.
You just have to apply the css properties on the set class and it will be applied only to one module.
Please Log in or Create an account to join the conversation.
- eliospeppe
-
Topic Author
- Offline
- Posts: 18
- Thank you received: 0
but I can not see the changes, something be wrong
this is my css:
the first is the normal
the second is created by me
What should I write in the relevant module
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Thanks
Please Log in or Create an account to join the conversation.
- eliospeppe
-
Topic Author
- Offline
- Posts: 18
- Thank you received: 0
I would instead follow span.hikashop_product_name_last
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
You should probably use this kind of code :
Please Log in or Create an account to join the conversation.
- eliospeppe
-
Topic Author
- Offline
- Posts: 18
- Thank you received: 0
I have two modules
The first module uses: span.hikashop_product_name
the second module must be used: span.hikashop_product_name_last
What should I write in the CSS module class suffix of the second?
thanks for your patience
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Mohamed Thelji wrote: we can't really tell you what "you should write" if we don't know what you exactly want to do, so can you show us a screenshots of what do you want to change and how do you want to change it ? also can you give us a link to the page that you want to change for testing purpose ?
Thanks.
As I told you in my previous post, is it possible to have some screenshots explaining your problem and and link to this page ?
Please Log in or Create an account to join the conversation.
- eliospeppe
-
Topic Author
- Offline
- Posts: 18
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
if I correctly understood, what you want to do is, to have smaller font-size for your product names then these product names will be written in 2 lines and not 3 lines ?
The solution will probably be to increase the width of your module or decrease its font-size. Can I have a link to the page where you are having your problem ? then I'll probably be able to give your the good CSS code ?
Please Log in or Create an account to join the conversation.
- eliospeppe
-
Topic Author
- Offline
- Posts: 18
- Thank you received: 0
user: user
psw: qwert
PS
after blot out this user
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Please Log in or Create an account to join the conversation.
- eliospeppe
-
Topic Author
- Offline
- Posts: 18
- Thank you received: 0
Thanks
Please Log in or Create an account to join the conversation.