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] How do I put borders around specific text on certain pages?


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 May 9, 2011, 06:44 PM
helpsolve
 
15 posts · Apr 2011
USA - California
[SOLVED] How do I put borders around specific text on certain pages?

Hi,

I'm trying to add this to any paragraph on any post or page,


{
border-style:solid;
border-width:5px;
}


How can I accomplish this? Thank you!
  #2  
Old May 9, 2011, 07:07 PM
juggledad's Avatar
juggledad
 
21,982 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
what version of Atahualpa and WP?
What is the URL?
Have you tried looking at it with FireBug in FireFox?
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old May 9, 2011, 07:14 PM
helpsolve
 
15 posts · Apr 2011
USA - California
Hi,
Atahualpa 3.6.4


I've tried this:


ATO > css insert
.pclass
{
border-style:solid;
border-width:5px;
}

Then this in an individual page via HTML tab of the editor:

<span class="pclass">

my existing text

</span>

After I do that, and hit update, automatically this is what happens as seen in the HTML tab:


<span class="pclass"> </span>

my existing text


for some reason the closing span tag is moved outside of the text I wanted the border to surround
  #4  
Old May 10, 2011, 03:50 AM
juggledad's Avatar
juggledad
 
21,982 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
What is the URL so I can see what you are talking about
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #5  
Old May 10, 2011, 10:35 AM
lmilesw's Avatar
lmilesw
 
10,054 posts · Jul 2009
Central New York State USA
The WordPress editor doesn't know how to handle the spaces you have between the span tags and the content.
Instead of what you put in your page try the following.
HTML Code:
<span class="pclass">my existing text</span>
__________________
~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 May 10, 2011, 10:55 AM
juggledad's Avatar
juggledad
 
21,982 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
try this in the CAA Inserts
HTML Code:
div.post-bodycopy p {border: solid 5px #000000;}
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #7  
Old May 10, 2011, 10:56 AM
helpsolve
 
15 posts · Apr 2011
USA - California
Things I've tried:

I know this works:

<span class="pclass">testing text</span>

But the problem is this:

<span class="pclass"><h2>AMERICAN HEAT</h2></span>
Due to the overwhelming poor ratings from customers, we do not recommend their instant hot water heaters.

With the above original text, I can only do the following:

<h2><span class="pclass">AMERICAN HEAT</span></h2>

This doesn't work:
<span class="pclass"><h2>AMERICAN HEAT</h2>
Due to the overwhelming poor ratings from customers, we do not recommend their instant hot water heaters.</span>


But what I need is a single border inside a whole area of text that includes links, a few paragraphs, and has spaces, etc.

I don't think the above is going to work?

Any other ideas please?

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to assign a unique color to widget-box title borders of a specific sidebar? wordy_gurdy Sidebars & Widgets 5 Aug 9, 2010 02:15 PM
[SOLVED] How to: Put autoresponder code in specific part of header at100 Header configuration & styling 6 Apr 5, 2010 07:32 AM
My images and text overlap - unsure if it's padding, borders, etc. jarkthesaint Header configuration & styling 0 Dec 29, 2009 07:58 AM
How to put specific SWF files on specific pages as header images? kippiper Header configuration & styling 2 Dec 10, 2009 08:23 AM
Full Post Text on specific category pages spencer Atahualpa 3 Wordpress theme 1 Jul 7, 2009 02:47 PM


All times are GMT -6. The time now is 07:30 AM.


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