Getting Web Calendar Running - Page 3

User 187934 Photo


Senior Advisor
20,190 posts

So would that be a yes?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 15653 Photo


Registered User
233 posts

No sir... Still looking for a fix. I see a fellow here 'did' find a fix though but it's an older thread and he didn't post his solution. I emailed tech support too and they suggested I try the forums.

http://www.coffeecup.com/forums/web-cal … r-of-page/

User 122279 Photo


Senior Advisor
14,456 posts
Online Now

Chris, in order to center the calendar within a container (like a div, or if there isn't any div, it centers it on the page), you have to go into the theme folder and add a line of css BEFORE exporting the calendar.

You need to open Documents - CoffeeCup Software - Web Calendar - themes - [your chosen theme] - html - stylesheets and find the file monthstyles.css
Open that file and add this line:
#cc_webcalendar { margin: 0 auto; width:%CALWIDTH%;}


I usually add it below this line:
#cc_calendar_container { position:relative; }


After that, just re-export your calendar. It will be centered, also included the events.

Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 15653 Photo


Registered User
233 posts

You need to open Documents - CoffeeCup Software - Web Calendar - themes - [your chosen theme] - html - stylesheets and find the file monthstyles.css
Open that file and add this line:


Thanks Inger... So within the monthlystyles.css shown in the attachment, which one should I edit? I haven't downloaded anything new with respect to skins or templates and this is a virgin registered copy. Thanks, Chris
User 15653 Photo


Registered User
233 posts

the attachment. :D
Attachments:
User 15653 Photo


Registered User
233 posts

Seems that monthstyles.css resides in a lot of locations given Web Calendar was installed in c:\program files (x86)\Coffee Cup Software\ Web Calendar of my W7 64 machine.
User 187934 Photo


Senior Advisor
20,190 posts

Change your first <div id="cc_webcalendar"> to <div id="cc_webcalendar" style="width:400px">:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 122279 Photo


Senior Advisor
14,456 posts
Online Now

Chris O wrote:
Seems that monthstyles.css resides in a lot of locations given Web Calendar was installed in c:\program files (x86)\Coffee Cup Software\ Web Calendar of my W7 64 machine.


My point by saying that you have to make the earlier mentioned change BEFORE exporting the calendar is that you actually have to change the theme you are using, not the already created calendar.

So of the list of files in your attachment change the ones which are in your Documents folder, the ones I'm showing in my attachment. Of course, you only need to change the ones pertaining to the theme you are using, and if you want to have a large calendar, as shown in the link you posted earlier, you don't have to bother with anything small.

The idea behind changing the theme, and not the ready made calendar, is that if you update your calendar with new events, you'd have to add that line of css every time because it will have been overwritten.
Attachments:
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 15653 Photo


Registered User
233 posts

Change your first <div id="cc_webcalendar"> to <div id="cc_webcalendar" style="width:400px">:)


wow, that's interesting. Thanks Eric. I'll have to experiment with that style|width some more. Appreciate your help.
User 15653 Photo


Registered User
233 posts

Thanks Inger, I'll experiment some more with that. Odd that my Windows 7 search wouldn't even find that file (monthstyles.css).

Appreciate the help, Gents... :D

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.