Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

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

Border around Txt


  #1  
Old Dec 1, 2010, 05:48 PM
ontrackdesignz
 
7 posts · Oct 2010
I need to place a border of varying heights and widths around text. 1px #000000 is what I need.

Is there a plugin I can use or will I need to do this manually within HTML editor when editing/making a page/post?

I also need to create a calendar feature similiar to what is shown here http://www.velogirls.com/calendar.php

Last edited by ontrackdesignz; Dec 1, 2010 at 05:52 PM.
  #2  
Old Dec 1, 2010, 07:15 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
all depends on where you need to put it. The easiest way is to code a css selector and rule and add it to the css inserts
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Dec 1, 2010, 08:07 PM
ontrackdesignz
 
7 posts · Oct 2010
Well I need to place various text box sizes on 5 different static pages.

Can you provide some script? 1px and color #5A5353
  #4  
Old Dec 3, 2010, 04:47 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
here is a script for you
1) go to ato->Add HTML/CSS Inserts->CSS Inserts and add
HTML Code:
.my_border {border: solid 3px red;}
you only do this once. You can change the parameters - go check out http://www.w3schools.com/css to find the syntax

2) each time you want a border, put <p class="my_border"> before the text and </p> at the end of the text. For example
HTML Code:
<p class="my_border">In cursus ultricies vulputate. Phasellus congue mollis fermentum. Sed mauris odio, condimentum non mattis et, suscipit sed nibh. Nunc at turpis vitae augue adipiscing blandit eget et libero. Aenean molestie consectetur eleifend. Ut tincidunt, mi et fermentum vulputate, ante metus ultrices leo, eget interdum eros nisi sed diam. Duis vulputate arcu eu metus rutrum suscipit. Nullam ac erat eros, quis cursus lorem. Praesent non metus accumsan augue eleifend rhoncus a eget sapien. Sed tempor mollis leo id ornare. Nullam tincidunt dignissim odio, quis facilisis augue suscipit eget. Pellentesque vehicula dapibus odio, ut vestibulum sem consequat in. Sed faucibus risus quis urna scelerisque hendrerit.</p>
__________________
"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
Adding Left Sidebar to ata-default.txt Theme EfremJ Sidebars & Widgets 1 Nov 8, 2010 03:05 AM
What exactly gets wiped out if i import the ata-round.txt style? RuBeQK Header configuration & styling 8 Jul 28, 2010 10:45 AM
Category menu bar issue using 'adsense.txt' style as base !karolis Atahualpa 3 Wordpress theme 6 Jun 28, 2010 11:51 AM
[SOLVED] how to create a CSS insert for border-left border-right on menu tabs aliengirl Page & Category Menu Bars 3 Jan 7, 2010 08:22 PM
[SOLVED] Lijit Search, robots.txt, and /Disallow Wimbledon Plugins & Atahualpa 2 Oct 3, 2009 08:24 PM


All times are GMT -6. The time now is 11:16 PM.


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