Page 1 of 1

Bookmarks font problem...

Posted: Mon Apr 11, 2005 2:49 pm
by Geo
Hi all,

am pretty new to this CMS and .css stuff...but have been mightily impressed with CMSMS in the last few days of using it...

i've hit a small stumbling block tho with regards to the bookmarks module - how do i set the font type and size in the .css i've tried a variety of diffent syntax based on the news module and have read the code from start to finish in the bookmarks.php file to get some idea of where i'm going wrong...here s c&p of my latest stab in the dark with .css ;)

Code: Select all

.cms-module-news {
	display: block;
	margin-bottom: 10px;
	padding: 10px;
	border: 1px solid #777;
}
.cms-news-date {
	color: #DD0000;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px;

}
.cms-news-title {
	color: #006400;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px;
}
.cms-news-content {
	color: #000;
	font-size: 1.1em;
	display: block;
	margin-top: 4px;
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;
}
.cms-bookmarks-title {
	color: #006400;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 14px;
}
.cms-bookmark-url {
	color: #000;
	font-size: 1.1em;
	display: block;
	margin-top: 4px;
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;
}
thanks in advance,

Geo.

Re: Bookmarks font problem...

Posted: Mon Apr 11, 2005 6:34 pm
by Greg
Here is my css for bookmarks

Code: Select all

.cms-module-bookmarks-header {
  font-weight: bold;
  font-size: 1.2em;
  margin-left: 6px;
}
.cms-module-bookmarks-list {
  padding: 4px;
  margin: 4px;
  line-height: 1.5em;
}
.cms-module-bookmarks-list li {
  list-style: none;
}
.bookmark-link {
  /*background-color: #FFF;*/
}
.cms-module-bookmarks-summary {
  margin-bottom: 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #555
}

Re: Bookmarks font problem...

Posted: Tue Apr 12, 2005 10:20 am
by Geo
many thanks greg!

:)

Geo.

Re: Bookmarks font problem...

Posted: Tue Apr 12, 2005 9:23 pm
by Akrabat
I should probably create some example CSS files for both Bookmarks and Calendar and include them in a readme.txt

Re: Bookmarks font problem...

Posted: Thu Apr 14, 2005 8:43 am
by Geo
^
thats a great idea!  it'd *really* help 'new to css' types like myself.

Re: Bookmarks font problem...

Posted: Fri May 26, 2006 7:40 am
by badger
Great post!

this should really be in the help content for the module.