Bookmarks font problem...

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Geo
Forum Members
Forum Members
Posts: 24
Joined: Mon Apr 11, 2005 2:46 pm

Bookmarks font problem...

Post 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.
Greg
Power Poster
Power Poster
Posts: 598
Joined: Sun Sep 26, 2004 6:15 pm
Location: Saskatchewan - Canada

Re: Bookmarks font problem...

Post 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
}
Greg
Geo
Forum Members
Forum Members
Posts: 24
Joined: Mon Apr 11, 2005 2:46 pm

Re: Bookmarks font problem...

Post by Geo »

many thanks greg!

:)

Geo.
Akrabat

Re: Bookmarks font problem...

Post by Akrabat »

I should probably create some example CSS files for both Bookmarks and Calendar and include them in a readme.txt
Geo
Forum Members
Forum Members
Posts: 24
Joined: Mon Apr 11, 2005 2:46 pm

Re: Bookmarks font problem...

Post by Geo »

^
thats a great idea!  it'd *really* help 'new to css' types like myself.
badger

Re: Bookmarks font problem...

Post by badger »

Great post!

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

Return to “Modules/Add-Ons”