Read the statement by Michael Teeuw here.
Help with my calendar
-
Please can someone help me with my calendar. I would like to remove the Country name in my example “Switzerland” from each holiday line before the stated holiday event as I know they are all for Switzerland. (Switzerland:New Years Day) Where can I edit this out? Also I would like to change the font of the date on the right as I looks dimmed and I would like to modify this to white or brighter. Thanks in advance to anyone that can give me the guidance.
-
@richardh151
You can usetitleReplace
field in your configuration.
For modifying font style, use CSS. add this into yourcss/custom.css
.calendar .time { color:#FFF; }
-
@sean Firstly the Color change of the date worked, thanks. I’m struggling to edit the titleReplace as
any change that I do in the titleReplace part within the config.js file does not seem to have an effect or gives me a Config.js file error. Am I editing it in the correct area? -
{ module: "calendar", position: "top_left", config: { titleReplace: {"Switzerland:" : ""}, //... other configuration } },
-
@sean Thank you Sean it works, sorry I didn’t fully understand the title replace concept. Happy new year to you.