Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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?


  #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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what version of Atahualpa and WP?
What is the URL?
Have you tried looking at it with FireBug in FireFox?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
What is the URL so I can see what you are talking about
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old May 10, 2011, 10:35 AM
lmilesw's Avatar
lmilesw
 
10,176 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
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try this in the CAA Inserts
HTML Code:
div.post-bodycopy p {border: solid 5px #000000;}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
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 11:50 AM.


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