Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

[SOLVED] Changing font style that appears on comments on your site.


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 26, 2011, 11:07 AM
2BRetired
 
44 posts · Jan 2011
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
  #2  
Old Apr 26, 2011, 02:56 PM
2BRetired
 
44 posts · Jan 2011
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.
  #3  
Old Apr 26, 2011, 03:03 PM
lmilesw's Avatar
lmilesw
 
10,113 posts · Jul 2009
Central New York State USA
Is there some reason you didn't put that code in ATO>Add HTML/CSS Inserts>CSS Inserts?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #4  
Old Apr 26, 2011, 03:51 PM
2BRetired
 
44 posts · Jan 2011
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

Last edited by 2BRetired; Apr 26, 2011 at 04:11 PM.
  #5  
Old Apr 26, 2011, 04:17 PM
lmilesw's Avatar
lmilesw
 
10,113 posts · Jul 2009
Central New York State USA
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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #6  
Old Apr 26, 2011, 05:03 PM
2BRetired
 
44 posts · Jan 2011
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.

Last edited by 2BRetired; Apr 26, 2011 at 05:26 PM.
  #7  
Old Apr 26, 2011, 05:38 PM
lmilesw's Avatar
lmilesw
 
10,113 posts · Jul 2009
Central New York State USA
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".
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #8  
Old Apr 26, 2011, 05:41 PM
2BRetired
 
44 posts · Jan 2011
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.
  #9  
Old Apr 26, 2011, 05:47 PM
lmilesw's Avatar
lmilesw
 
10,113 posts · Jul 2009
Central New York State USA
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
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #10  
Old Apr 26, 2011, 05:47 PM
2BRetired
 
44 posts · Jan 2011
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.

Last edited by 2BRetired; Apr 26, 2011 at 05:50 PM.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the FONT STYLE of the POST ianuy Atahualpa 3 Wordpress theme 10 Sep 25, 2011 05:47 PM
[SOLVED] code from center column style appears on the site Björn Palovaara Center area post/pages 3 Apr 9, 2011 05:23 PM
How to style font size in comments? paulae Comments, trackbacks & pings 1 Sep 26, 2009 06:19 PM
Changing the font in the style sheet doesn't seem to be taking AlanaBay Header configuration & styling 4 Jun 5, 2009 01:12 PM
Changing the style of the post's body text and other font issues. perdox808 Atahualpa 3 Wordpress theme 2 Apr 20, 2009 09:26 PM


All times are GMT -6. The time now is 10:22 PM.


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