Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   [SOLVED] Changing font style that appears on comments on your site. (http://forum.bytesforall.com/showthread.php?t=13920)

2BRetired Apr 26, 2011 10:07 AM

[SOLVED] Changing font style that appears on comments on your site.
 
I want to change the font style for the comments that are posted and appear on my site. I cannot seem to find where to change this, is it a Atahualpa function or wordpress setting.

Thanks Bob

2BRetired Apr 26, 2011 01:56 PM

After some more research I tried to insert the following:- In the CSS.PHP template

ul.commentlist {
font-family: 'Trebuchet MS',sans-serif;
font-size: 0.9em;

Just above

margin: 15px 0 15px 0;
list-style-type: none;
padding: 0;
display:block;
border-top: <?php echo $bfa_ata['comment_border']; ?>;
}
Now this seemed to work but I am not sure I am screwing something else up.

Thanks Bob.

lmilesw Apr 26, 2011 02:03 PM

Is there some reason you didn't put that code in ATO>Add HTML/CSS Inserts>CSS Inserts?

2BRetired Apr 26, 2011 02:51 PM

I did not know you could.

I am new to this and am basically a trial and error on my local host seeing what happens. If it works I then upload to my site.

I think I got the idea was from a Flynn post, at showthread.php?t=335

Thanks, Bob

lmilesw Apr 26, 2011 03:17 PM

It is best not to edit the theme files as they won't survive an upgrade. You can do most if not all of what you want to do withing the theme options with this theme.

2BRetired Apr 26, 2011 04:03 PM

How could I do the above with just the theme options. I can erase what I did and try again.

Do I go to style&config COMMENTS or Add HTML/CSS Inserts.


Thanks, Bob

What is the best way to learn how to use these options.

lmilesw Apr 26, 2011 04:38 PM

You add
HTML Code:

ul.commentlist {
font-family: 'Trebuchet MS',sans-serif;
font-size: 0.9em;
}

To ATO>Add HTML/CSS Inserts>CSS Inserts
Sometimes you also have to add !important to the end of a CSS line. For example
HTML Code:

ul.commentlist {
font-family: 'Trebuchet MS',sans-serif !important;
font-size: 0.9em !important;
}

This will override other CSS which is necessary "SOMETIME".

2BRetired Apr 26, 2011 04:41 PM

OOPs looks like an overlap between your and my posts.

First I copied:-
ul.commentlist {
font-family: 'Trebuchet MS',sans-serif;
font-size: 0.95em;
margin: 15px 0 15px 0;
list-style-type: none;
padding: 0;
display:block;
border-top: <?php echo $bfa_ata['comment_border']; ?>;
}
I removed the 2 lines of code font-family and font-size from the CSS.php that I had originally added then pasted the above to the bottom of the Add HTML/CSS inserts section.

It seems to work but I do not know why!

Thanks Bob

I hope this helps others in the same position.

lmilesw Apr 26, 2011 04:47 PM

You don't need
HTML Code:

margin: 15px 0 15px 0;
list-style-type: none;
padding: 0;
display:block;
border-top: <?php echo $bfa_ata['comment_border']; ?>;

As that is already in css.php

2BRetired Apr 26, 2011 04:47 PM

OK just did your settings and also worked but I did not need the "!important" this time but it is good to know.

Thanks Bob.

I now have the lets tweak bug, a little knowledge is a dangerous thing.


All times are GMT -6. The time now is 01:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.