Welcome Guest   | Login   
  Search  
  Index |  Recent Threads |  Register | 


Quick Go »
Thread Status: Normal
Total posts in this thread: 3
[Change thread status] [Delete this Thread] [Move this Thread]
[Add To My Favorites] [Watch this Thread] [Post new Thread]
Author
Previous Thread This topic has been viewed 213 times and has 2 replies Next Thread
LN_Band
New Member



Joined: Jul 14, 2011
Posts: 4
Status: Offline

Edit this Post   How to edit "Day" text appearance in mini calendar? Reply to this Post
Reply with Quote
[Delete this Thread]

Hello,

I currently have a mini calendar set up in monthly block format. Across the top is SUN MON TUES... etc. I would like to change the days to appear as the following: S M T W T F S.

Where is the CSS or javascript that controls this so that I can edit it?

I was also wondering how I could also add rules around each day shown in the block to create a kind of table grid look. Perhaps even with a small 1 or 2 px margin between "cells".

Thanks.
[Jul 14, 2011, 12:18:10 PM] [68.57.242.10] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
support
localendar Expert
Member's Avatar


Joined: Aug 9, 2022
Posts: 6438
Status: Offline
Edit this Post   Re: How to edit "Day" text appearance in mini calendar? Reply to this Post
Reply with Quote
[Delete this Post]

The text is styled by CSS (the middle "S") but not set by it. So although there are CSS rules to control what the text looks like, you cannot alter it to just show the first letter.

As for borders, in the
.localendar-mini td, th {
width: 30px;
height: 30px;
etc.

part of the CSS for this calendar view, you can add
border: 1px solid #000;
and I think that will give you what you want.
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news
----------------------------------------
[Edit 1 times, last edit by support at Jul 20, 2011, 12:03:29 AM]
[Jul 20, 2011, 12:02:56 AM] [First IP: 68.198.253.122 - Last IP: 68.198.253.122] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
LN_Band
New Member



Joined: Jul 14, 2011
Posts: 4
Status: Offline

Edit this Post   Re: How to edit "Day" text appearance in mini calendar? Reply to this Post
Reply with Quote
[Delete this Post]

 
So although there are CSS rules to control what the text looks like, you cannot alter it to just show the first letter.


That's unfortunate. Perhaps this would be a nice option to offer in the admin panel. i.e. "view days as S, M, T,... at some point to go along with other display options that are currently offered.
[Jul 22, 2011, 11:43:33 AM] [68.57.242.10] Show Post Printable Version [Link] Report threatening post: please login first  Go to top 
[Show Thread Printable Version] [Post new Thread]

Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us