![]() |
[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 |
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. |
Is there some reason you didn't put that code in ATO>Add HTML/CSS Inserts>CSS Inserts?
|
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 |
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.
|
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. |
You add
HTML Code:
ul.commentlist { Sometimes you also have to add !important to the end of a CSS line. For example HTML Code:
ul.commentlist { |
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. |
You don't need
HTML Code:
margin: 15px 0 15px 0; |
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 08:10 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.