Web Hosting
Results 1 to 9 of 9

Thread: Box around text

  1. #1
    Join Date
    Jan 2014
    Posts
    4

    Default Box around text

    I used to have or wanted a box around posts in my site colors. Not too thin but not thick but enough to delineate. Which file would I edit and what do I add and where? Theme is wp43. Thank you.

    Edit: I went through the css files but wasn't sure which section had the color code. It's a shade of hot pink. From pink.css here is most of the file. Hopefully someone can tell me what color is the header of each sidebar item. The a block of this color has a white font. I need the color code for the box.

    '}
    #header h3, #header h1 { display:none; }
    #header h1 a {
    color:#DD0F59;
    font-style:italic;
    font-weight:bold;
    top:85px;
    }
    #header form { display:none; }
    #header h3 {
    color:#8F2249;
    top:80px;
    }
    #navigation {
    background-color:#FB005D;
    border-color: #E4287C;
    }

    #navigation li a {
    color: #ffffff;
    }

    .post h2 a {
    background-color: #f4f4f4;
    }

    .first h2 a {
    background-color: #f4f4f4;
    }

    .post h3 {
    color: #DE2165;
    }

    #sidebar h2 {
    color: #ffffff;
    background-color:#FB005D;
    border-color: #E4287C;
    }

    #sidebar ul li {

    border-bottom: 1px dashed #cccccc;
    }
    #sidebar ul li a {
    color: #666666;
    }
    #sidebar ul li a:hover {
    color: #DE2165;
    }
    '

  2. #2
    Join Date
    Mar 2013
    Posts
    21

    Default

    Anyone able to help! Please?

  3. #3
    Join Date
    Apr 2008
    Location
    At home
    Posts
    929

    Default

    Can you give us your site URL and more info on the actual result you're after?

  4. #4
    Join Date
    Mar 2013
    Posts
    21

    Default

    Yes and no��. I want a line around the post box or text and each sidebar section. It needs a line to separate it. I'd rather not post the URL publicly at least until it is done. I am close to finishing but not there yet.

  5. #5

    Default

    Without URL we cant help you, because we need to see how your sidebar is build to answer your questions. If you want, you can try to send private msg to me and il try to help you without posting here your website url

  6. #6
    Join Date
    Jan 2014
    Posts
    4

    Default

    Quote Originally Posted by Kapsel View Post
    Without URL we cant help you, because we need to see how your sidebar is build to answer your questions. If you want, you can try to send private msg to me and il try to help you without posting here your website url
    Thanks. I need to figure out which site I got that from. I thought I could edit .css on every theme to place the line. I'll message you when I find out.

  7. #7
    Join Date
    Mar 2014
    Posts
    3

    Default

    you gave us a css code, but the code for make a box in html. if you use wordpress, modify code in single-post.php for make a box like it.

  8. #8
    Join Date
    Apr 2014
    Location
    Staffordshire
    Posts
    6

    Default

    I'm also after a way of adding a box around text in Wordpress...

  9. #9
    Join Date
    Jun 2014
    Location
    Toronto
    Posts
    20

    Default

    If I understand correctly, this is the part from your code that you are trying to identify. This is making all h2 headers in your sidebar have a white font and a hot pink border.

    Quote Originally Posted by Squirrel View Post
    #sidebar h2 {
    color: #ffffff;
    background-color:#FB005D;
    border-color: #E4287C;
    }
    '

Similar Threads

  1. Input Box text color
    By markjshaw88 in forum Free Joomla Templates
    Replies: 1
    Last Post: 01-11-2011, 07:21 AM
  2. Captcha input box has no border - so can't see it
    By westpa1 in forum General Joomla Discussions
    Replies: 3
    Last Post: 12-22-2010, 11:28 AM
  3. input box colour change help templates/123wd-j15-5
    By fastmeph in forum Free Joomla Templates
    Replies: 1
    Last Post: 01-24-2010, 06:49 AM
  4. Hiden menu box
    By bgraezer in forum Hosting Related Questions
    Replies: 2
    Last Post: 06-05-2008, 02:37 PM
  5. Menu Box Doesn't work
    By Peter Lear in forum Hosting Related Questions
    Replies: 0
    Last Post: 08-28-2006, 12:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •