- Posts: 45
COMMUNITY FORUM
Calendar class change / override
- mjmartino
- Topic Author
- Offline
- Senior Member
Less
More
5 years 4 days ago #173703
by mjmartino
Calendar class change / override was created by mjmartino
Hi Fortis
I have a problem with 2 calendars on site.
Form calendar interference k2 module calendar.
How a can change / override class moduleChange calendar to calendar-k2
Do you have some simple solution?
I have a problem with 2 calendars on site.
Form calendar interference k2 module calendar.
How a can change / override class module
<table class="calendar">
Do you have some simple solution?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 4 days ago #173710
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Calendar class change / override
If it's a CSS issue, use a module class suffix and then target CSS differently to override styling.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- mjmartino
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
5 years 3 days ago #173716
by mjmartino
Replied by mjmartino on topic Calendar class change / override
This is difficult situation because i must using two calendar.
First using !important
Okay i edit original css to resolve this problem.
Thanks.
First using !important
Okay i edit original css to resolve this problem.
Thanks.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 3 days ago #173717
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Calendar class change / override
It's not difficult if it's about CSS specifically. Using a CSS class suffix in the module makes things easier (you don't even need to override the "calendar.php" override of the K2 Tools module). Then it's all a matter of specificity in CSS.
We do this already in the K2 demo site: jmp.sh/36eevPz
.myNewClassSuffix table.calendar {...}
We do this already in the K2 demo site: jmp.sh/36eevPz
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- mjmartino
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 45
5 years 3 days ago #173718
by mjmartino
Replied by mjmartino on topic Calendar class change / override
You have right!
I try override for .myNewClassSuffix table not added calendar
Thank you.
Ps. yes i using override K2 Tools module ;)
I try override for .myNewClassSuffix table not added calendar
Thank you.
Ps. yes i using override K2 Tools module ;)
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 3 days ago #173720
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Calendar class change / override
Cool :)
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.