Jevents 2.x (Free Access)

Mini Calendar Width

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 follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

Postby jorov » Wed Dec 12, 2012 12:05 pm

Hello all,

I have read all about the width of the mini calendar here, I have tried modifying the files(modstyle.css), but I can't get it's width below 200px. In the modstyle file its given as 140 px, but in reality it is 200. What can I do to make it 150 px max? Attached is a screen of the problem it's making- the cloumn max width is 150 px. and its going out of the site limits.

Image
jorov
 
Posts: 4
Joined: Wed Dec 12, 2012 11:59 am

Postby Geraint » Wed Dec 12, 2012 3:16 pm

Try using the !important css setting
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: 42811
Joined: Fri Feb 15, 2008 6:14 pm

Postby jorov » Wed Dec 12, 2012 4:10 pm

That's the one I was changing- there is "140px!important" and when I change it to 100 px- no change in front end.
What exactly is it with this !important setting- what does it do and where must I modify it? Because I think that maybe I'm not doing that right.
jorov
 
Posts: 4
Joined: Wed Dec 12, 2012 11:59 am

Postby Tonyp » Wed Dec 12, 2012 9:37 pm

Hello,

The !important means ignore all other settings related to this attribute and use me in simple terms. It is the top of the chain.

If this is an !important already, what file is it declared in?

Regards
tony
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23788
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby jorov » Fri Dec 14, 2012 7:15 am

This is declared in the following file:
/components/com_jevents/views/geraint/assets/css/modstyle.css

I saw it from another topic in this forum. When I change that width to more than 200 px, the calendar becomes wider, but any width, lower than 200 px gets ignored.
jorov
 
Posts: 4
Joined: Wed Dec 12, 2012 11:59 am

Postby Tonyp » Fri Dec 14, 2012 8:24 am

It's likely a min-width has been set.

So set you widths as follows:

min-width: 100px !important;
width: 100px !important;

Replacing 100px with the width you want..

Regards
Tony
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23788
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Postby jorov » Fri Dec 14, 2012 10:40 am

Hello again, thanks for your reply.

I don't see a min width anywhere in the modstyle.css files for the different views. I tried putting the code in the file modstyle.css- but it's still the same, no change.

Could it be a template issue? Because these positions- the left and right columns are fixed to 150 px.
jorov
 
Posts: 4
Joined: Wed Dec 12, 2012 11:59 am

Postby Tonyp » Fri Dec 14, 2012 3:02 pm

Hello,

It could well be... I can't answer that without viewing and checking the source but we only provide this type of customisation to club members.

All I can suggest is use Firefox and firebug to change settings etc

Many thanks
Tony
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Tonyp
Team Staff
 
Posts: 23788
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man


Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 2 users online :: 2 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: Bing [Bot], Yahoo [Bot]