help to better help you:
Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!
Changing .eventcontentinner
- iaminsandiego
- Topic Author
- Offline
- New Member
- Posts: 4
- Thanks: 0
Changing .eventcontentinner
7 years 9 months ago
I want to change the background color of the event blocks for each day. Those are controlled by eventcontentinner
That class appears to be hard coded somewhere and doesn't get overridden by any custom styles.
I see this as the last bit of css in my page source:
<link rel="stylesheet" href="/media/com_jem/css/jem.css" type="text/css" />
<link rel="stylesheet" href="/media/com_jem/css/calendar.css" type="text/css" />
<link rel="stylesheet" href="/templates/protostar/css/template.css" type="text/css" />
<link rel="stylesheet" href="/media/system/css/modal.css" type="text/css" />
<style type="text/css">
div#jem .eventcontentinner a,
div#jem .eventandmore a {
color:#000000;
}
.eventcontentinner {
background-color:#ffff00;
}
.eventandmore {
background-color:#ffff00;
}
.today .daynum {
background-color:#cccc99;
}
</style>
Since .eventcontentinner is in that last bit of html, i cannot override it.
Can you tell me how I can change the background color for .eventcontentinner ?
That class appears to be hard coded somewhere and doesn't get overridden by any custom styles.
I see this as the last bit of css in my page source:
<link rel="stylesheet" href="/media/com_jem/css/jem.css" type="text/css" />
<link rel="stylesheet" href="/media/com_jem/css/calendar.css" type="text/css" />
<link rel="stylesheet" href="/templates/protostar/css/template.css" type="text/css" />
<link rel="stylesheet" href="/media/system/css/modal.css" type="text/css" />
<style type="text/css">
div#jem .eventcontentinner a,
div#jem .eventandmore a {
color:#000000;
}
.eventcontentinner {
background-color:#ffff00;
}
.eventandmore {
background-color:#ffff00;
}
.today .daynum {
background-color:#cccc99;
}
</style>
Since .eventcontentinner is in that last bit of html, i cannot override it.
Can you tell me how I can change the background color for .eventcontentinner ?
Please Log in or Create an account to join the conversation.
Re: Changing .eventcontentinner
7 years 9 months ago
I have no great experience with eventcontentinner and have no idea about how to manage this. You will get online help.Find the best platform for getting solutions for this.
Please Log in or Create an account to join the conversation.
Re: Changing .eventcontentinner
7 years 9 months ago - 7 years 9 months ago
You are talking about which view? simple list view, calendar view...?
If it's calendar view: then look in views/calendar/tmpl/default.php and media/com_jem/calendar.css
But I don't know how to change that for each event!
If it's calendar view: then look in views/calendar/tmpl/default.php and media/com_jem/calendar.css
But I don't know how to change that for each event!
Last edit: 7 years 9 months ago by jojo12.
Please Log in or Create an account to join the conversation.
- iaminsandiego
- Topic Author
- Offline
- New Member
- Posts: 4
- Thanks: 0
Re: Changing .eventcontentinner
7 years 9 months ago
This is calendar view. I have attached 2 screenshots.
Since .eventcontentinner is last in the html, i can't override it.
Since .eventcontentinner is last in the html, i can't override it.
Please Log in or Create an account to join the conversation.
Re: Changing .eventcontentinner
7 years 9 months ago - 7 years 9 months ago
to change this background-color you go to the options of the calendar menu. But its always for all events. see image.
In addition you can choose to show the category-color (see image 2)
EDIT: for me it seems you are looking on the wrong place. I think you are looking in something like firebug.
But like that you only know, it is contentinner.
You must find the place where your code is generated. I think this is in views/calendar/tmpl/default.php and media/com_jem/calendar.css
In addition you can choose to show the category-color (see image 2)
EDIT: for me it seems you are looking on the wrong place. I think you are looking in something like firebug.
But like that you only know, it is contentinner.
You must find the place where your code is generated. I think this is in views/calendar/tmpl/default.php and media/com_jem/calendar.css
Last edit: 7 years 9 months ago by jojo12.
The following user(s) said Thank You: iaminsandiego
Please Log in or Create an account to join the conversation.
- iaminsandiego
- Topic Author
- Offline
- New Member
- Posts: 4
- Thanks: 0
Re: Changing .eventcontentinner
7 years 9 months ago
Thank you JoJo. I never thought of looking for those options in the Menu. I'm good to go now.
Please Log in or Create an account to join the conversation.
Time to create page: 0.465 seconds