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 »

Changing the style of 'pre' Preformatted text?


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 Mar 6, 2010, 12:41 PM
jraymonds's Avatar
jraymonds
 
6 posts · Mar 2010
Atahualpa 3.4.6, Wordpress 2.9.2, Mac OS X Server 10.5.8
Changing the style of 'pre' Preformatted text?

I have only been using Wordpress for about six months and really do not know the ins and outs of web programming beyond having a background in 'C' and doing well just running off examples. I have been able to track down and successfully implement most of the customizations I have tried so far and I am even starting to feel comfortable adding things to the CSS Inserts... enough background...

What I cannot seem to find anywhere in the Theme nor on this forum is how to change the style of the basic formats for post text -- specifically I am looking to place a box around preformatted text and maybe tweak its features and I am not sure I can find out how to do this on my own!

Thanks in advance for what I am sure is a simple procedure.

-John
  #2  
Old Mar 7, 2010, 05:29 AM
juggledad's Avatar
juggledad
 
22,379 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
what version of Athualpa and WP?
What is the url?
What do you mean be 'preformatted text'?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 7, 2010, 07:48 AM
jraymonds's Avatar
jraymonds
 
6 posts · Mar 2010
Atahualpa 3.4.6, Wordpress 2.9.2, Mac OS X Server 10.5.8
what version of Athualpa and WP? 3.4.6/2.9.2

What is the url? I am currently running Athualpa on a sandbox VM machine and is thus only on a local LAN at the moment. For an example of what I am talking about (NOT IN ATHUALPA) look at the DOS commands at the following post: http://www.raymonds.com/JRsBlog/2010...t-cd-for-a-pc/

What do you mean be 'preformatted text'? I mean the text style one can select when writing a post -- like:

Paragraph
Address
Preformatted
Heading 1
Heading 2
etc
  #4  
Old Mar 7, 2010, 08:28 AM
juggledad's Avatar
juggledad
 
22,379 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
You are right, there isn't a preset option for changing that. However you can use a CSS Insert to apply the styling you want. If you were to add to ATO->Add HTML/CSS Inserts->CSS Insert
HTML Code:
pre {
border: 1px blur;
}
you would ger a blue border around the preformatted text
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Mar 7, 2010, 09:20 AM
jraymonds's Avatar
jraymonds
 
6 posts · Mar 2010
Atahualpa 3.4.6, Wordpress 2.9.2, Mac OS X Server 10.5.8
Got it -- though your syntax does not seem to be correct as it produced no visible result. I have the following:

pre {
padding: 1em 1em;
border: solid 1px #6D97B7;
}

Which works but the odd problem this produces is with the padding in place the top, bottom, and left boarders look perfect but for some reason the right one is not seen at all because the boarder runs into the right sidebar. If I remove the padding the boarder wraps tight around the text which is no where near the right sidebar. Any ideas?

Also, as a side note -- am I missing something stupid in the FAQ? Where can I put my WP, Atahualpa, OS, etc, stats so they appear in these forum posts?
  #6  
Old Mar 8, 2010, 04:56 AM
juggledad's Avatar
juggledad
 
22,379 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
oops, I've seen colors blur but never a color blur, I mistyped - that should be 'blue' (my finger was close)
try playing with margin

the info you see when I post was put in my profile in the 'where you live' field
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How can I insert a preformatted table avoiding Atahualpa to override its sty danidemi Header configuration & styling 3 Apr 1, 2010 01:10 AM
Changing displayed text and style of trackbacks and pingbacks Gravity Comments, trackbacks & pings 1 Sep 8, 2009 10:47 AM
Changing the links default title text to an image jpg of text veenublue Sidebars & Widgets 2 Jun 5, 2009 07:05 AM
Changing Bullet style in one, not all widgets peterf Sidebars & Widgets 7 Apr 21, 2009 11:58 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 09:04 AM.


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