I've been editing the standard CSS that the guestbook plugin comes with in order to customize it so that it matches my theme. My problem is with this section of the CSS:
.guestbook_entrytop {
background-color: #8d492b;
font-family: Verdana,sans-serif;
font-size: 12px;
color: #edcd97;
text-align: left;
padding: 3px;
white-space:nowrap;
No matter what I edit the font size to, the text in the top of the entry won't take on that font size or family. The text in the entry also is not taking on the date format that I set for it the configuration.
The weird part is that the text will accept alignment, padding, or color that I set here, it's the size & family that it ignores, and then the date format.
A related issue is that I can't seem to find where to remove the word "wrote" from the guestbook entry. Here's what it looks like now:
Chris wrote [last modified] Friday, the 27. July 2007
I'd rather have it read:
Chris on 07.25.2007 12:15
Can anyone help?
Guestbook css editing problems
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Guestbook css editing problems
Hi!
If you could tell us your URL, we could have a look at the CSS and see what might be wrong?
HTH,
Garvin
If you could tell us your URL, we could have a look at the CSS and see what might be wrong?
I believe you can change that wording in the guestbook*.tpl files that come with the plugin?A related issue is that I can't seem to find where to remove the word "wrote" from the guestbook entry. Here's what it looks like now:
Chris wrote [last modified] Friday, the 27. July 2007
I'd rather have it read:
Chris on 07.25.2007 12:15
Can anyone help?
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
superpowerup
- Regular
- Posts: 11
- Joined: Sun Jun 17, 2007 5:21 am
I looked all through the tpl files and couldn't find that wording anywhere... I'm not sure where I need to look.
My site is www.superpowerup.com. Thanks for the help!!
My site is www.superpowerup.com. Thanks for the help!!
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
As for the TPL file: Check the plugin_guestbook_entries.tpl file and search for {$entry.txtentrydata} - that contains the "WROTE".
As for the CSS, I suppose in your guestbook you want to check the look of the string "Text" which is displayed in some pink color?
Try to use:
You might want to check out the Firefox browser and install the "Firebug" extension. That much easies up CSS editing and inspecting to see which rules apply where!
HTH,
Garvin
As for the TPL file: Check the plugin_guestbook_entries.tpl file and search for {$entry.txtentrydata} - that contains the "WROTE".
As for the CSS, I suppose in your guestbook you want to check the look of the string "Text" which is displayed in some pink color?
Try to use:
Code: Select all
.guestbook_entrytop a {
font-size: 12px;
}
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
superpowerup
- Regular
- Posts: 11
- Joined: Sun Jun 17, 2007 5:21 am
It's still ignoring the CSS settings...
It ignores:
It obeys:
Also, it's ignoring the settings for the date still also. 
I'll definitely look at that plugin. I'm using wordpad to edit the CSS.
It ignores:
Code: Select all
.guestbook_entrytop {
background-color: #8d492b;
font-family: Verdana,sans-serif;
font-size: 12px;
color: #edcd97;
text-align: left;
padding: 3px;
white-space:nowrap;
}
.guestbook_entrytop a {
font-size: 10px;
}
Code: Select all
.guestbook_entrytop a:link,
.guestbook_entrytop a:visited,
.guestbook_entrytop a:active,
.guestbook_entrytop a:focus {
font-family: Verdana,sans-serif;
font-size: 16px;
font-weight: bold;
color: #ff0050;
text-decoration: none;
}
I'll definitely look at that plugin. I'm using wordpad to edit the CSS.
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Ah, okay, I forgot that a "a:*" setting overrides any general "a {...}" setting. So you could insert/use the "a:link, ..." things for setting for fontsize?
And you should really try that Firebug extension
HTH,
Garvin
Ah, okay, I forgot that a "a:*" setting overrides any general "a {...}" setting. So you could insert/use the "a:link, ..." things for setting for fontsize?
Phew. I believe the author of the plugin has committed some recent changes, maybe he forgot about properly placing the date format. Sadly I'm currently out of time to check into that, but I can try to check it out next week. You should also be able to adjust the dateformat by using the Smarty Template files and the |formatTime modifier with your custom format...Also, it's ignoring the settings for the date still also.
And you should really try that Firebug extension
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
superpowerup
- Regular
- Posts: 11
- Joined: Sun Jun 17, 2007 5:21 am
I'm thinking that this is a bug -- it's just that one line of text that won't listen to the CSS... I'm not really advanced enough to go in and fix it, I will just have to hope that a new version will come out soon to fix the problems.
I'm not a coder at all.
I tried out that extension. It looks interesting, but again, I'm kind of a noob with this stuff, and I couldn't figure out what to do with my changes once I had made them.
Something else I've noticed with the guestbook is that the javascript seems to be broken on the smilies. Clicking them doesn't add any text to the box.
I tried out that extension. It looks interesting, but again, I'm kind of a noob with this stuff, and I couldn't figure out what to do with my changes once I had made them.
Something else I've noticed with the guestbook is that the javascript seems to be broken on the smilies. Clicking them doesn't add any text to the box.