J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Mon May 20, 2013 1:13 am

Title Text too light

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.

Title Text too light

Postby wigleym » Fri Sep 14, 2012 3:16 pm

The titles on our events page calendar are too light and not sure how to make them darker. Also if I do make them darker when I you click on an events view I'm worried you wont be able to see them at all if it uses the same font color used on the calendar. Was hoping there was just a standard setting to change this without coding something but cant seem to find any answer on it. Ver 2.2.5
Website is www.restarauntgwendolyn.com

Thanks
wigleym
Posts: 1
Joined: Fri Sep 14, 2012 3:08 pm

Re: Title Text too light

Postby Tonyp » Fri Sep 14, 2012 4:19 pm

Hello,

This are determined by your sites template.css

You will want to use Firefox and firebug to inspect it and find the correct class to override.
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8718
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Title Text too light

Postby sodc » Wed Feb 06, 2013 12:34 pm

Is there any way to get around this? I do not want to change the css for my entire site, just to change the text color on the calendar.
sodc
Posts: 5
Joined: Wed Feb 06, 2013 12:25 pm

Re: Title Text too light

Postby Geraint » Wed Feb 06, 2013 1:03 pm

You just need to add a small snippet of CSS with the relevant CSS selector - so that it won't affect other pages.
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Re: Title Text too light

Postby sodc » Wed Feb 06, 2013 5:40 pm

Yes, but where in the events menu script would I reference the css snippet that I create?
sodc
Posts: 5
Joined: Wed Feb 06, 2013 12:25 pm

Re: Title Text too light

Postby Tonyp » Wed Feb 06, 2013 8:46 pm

Hello,

You would use Firefox and firebug then add the code to your sites template.css

Regards
Tony
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8718
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Title Text too light

Postby sodc » Wed Feb 06, 2013 10:41 pm

It appears you are not understanding my question.
Yes, I put the snippet in the template.css.

But where do I go within jevents script to enter the tag for the css snippet. In other words I have to tell jevents to look for the css snippet. Where do I go into jevents to say when pulling up text look for this snippet?
sodc
Posts: 5
Joined: Wed Feb 06, 2013 12:25 pm

Re: Title Text too light

Postby Geraint » Thu Feb 07, 2013 9:57 am

No need to change any code - JEvents will have used enough CSS class names/selectors that you can use to control the CSS quite precisely already.
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Re: Title Text too light

Postby sodc » Thu Feb 07, 2013 3:23 pm

You said earlier:
"You just need to add a small snippet of CSS with the relevant CSS selector - so that it won't affect other pages"

You now say:
"No need to change any code - JEvents will have used enough CSS class names/selectors that you can use to control the CSS quite precisely already."

If the second statement is true, where do I go to change the font color of the text that shows the events for each day?

Reading other posts it says the text color is controlled by the template.css not by JEvents css. So which is it. If it is controlled by the template.css then I need to make a css snippet and put it in the template.css. If I do that I need to get into a jsevents file to reference the snippet.

So bottom line how do I change the calendar text color without affecting other pages of my site.
sodc
Posts: 5
Joined: Wed Feb 06, 2013 12:25 pm

Re: Title Text too light

Postby Geraint » Thu Feb 07, 2013 4:48 pm

sodc wrote:If it is controlled by the template.css then I need to make a css snippet and put it in the template.css. If I do that I need to get into a jsevents file to reference the snippet.


No you don't - CSS can do that for you.

The jevents component output is either inside a div tag with id=jevents_header or jevents_body

So
Code: Select all
#jevents_header h1, #jevents_body h1 {
color:red!important;
}

would change the colour of h1 tags on jevents pages (within the component ONLY) to red but not on others pages

A really good tool to investigate this sort of change is the Firebug addon for Firefox or the Chrome DOM instpector
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Next

Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: No registered users

Main Menu

User Menu

Hosted By


Who is online

In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
Most users ever online was 94 on Tue Sep 01, 2009 12:33 am

Users browsing this forum: No registered users

Login Form