If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
assigning style.css file for the entire guestbook  XML
Forum Index » Support Forum
Author Message
gbfan69
Newbie

Joined: 20/09/2005 20:40:10
Messages: 3
Offline

i am trying to assign a style.css file to my guestbook.
i have the css file ready, mainly its for the custom scrollbar.
i searched the forum but couldnt fine something that refered to the problem i am asking about.
please help!
ps. thanks to all the people at this website for this guestbook.
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Whats the problem? Just put the link to the stylesheet in templates/header.php or paste the CSS straight into the style block.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
gbfan69
Newbie

Joined: 20/09/2005 20:40:10
Messages: 3
Offline

ok, i put the link in the header.php like this:

<link rel="stylesheet" href="bg_style.css" />
<style type="text/css">
<!--
.font1 { font-family: $VARS[font_face]; font-size: $VARS[tb_font_1]; color: $VARS[text_color] }
.font2 { font-family: $VARS[font_face]; font-size: $VARS[tb_font_2]; color: $VARS[text_color] }
.font3 { font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt; color: $VARS[text_color]; font-weight: bold}
.select { font-family: $VARS[font_face]; font-size: 9pt}
.input { font-family: $VARS[font_face]; font-size: 9pt}
-->
</style>


and also tried putting the code right inside the style block:


<style type="text/css">
<!--
.font1 { font-family: $VARS[font_face]; font-size: $VARS[tb_font_1]; color: $VARS[text_color] }
.font2 { font-family: $VARS[font_face]; font-size: $VARS[tb_font_2]; color: $VARS[text_color] }
.font3 { font-family: Arial, Helvetica, sans-serif; font-size: 7.5pt; color: $VARS[text_color]; font-weight: bold}
.select { font-family: $VARS[font_face]; font-size: 9pt}
.input { font-family: $VARS[font_face]; font-size: 9pt}
scrollbar-face-color: #767676;
scrollbar-highlight-color: #CCCCCC;
scrollbar-shadow-color: #333333;
scrollbar-3dlight-color: #999999;
scrollbar-arrow-color: #999999;
scrollbar-track-color: #111111;
scrollbar-darkshadow-color: #333333;
-->
</style>


none of them worked!
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Possibly because you have it totaly wrong

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
gbfan69
Newbie

Joined: 20/09/2005 20:40:10
Messages: 3
Offline

thanks for the code!
its working now.
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum