Forums

Editing Format of Posts Help! (8 posts)

  1. afiovino
    Member
    Posted 3 years ago #

    Hello,

    I am wondering what code I need to insert or what I need to edit in my "Theme Editor" to add a thin border to each of the posts I publish.

    If someone could let me know that would be great, I was looking through the Docs and saw some relevant topics but nothing I picked up. I also didn't want to start messing around with the editor.

    Thanks,

    Andrew
    (www.blogstodiefor.com)

  2. Eric Amundson
    Member
    Posted 3 years ago #

    You could do something like the following in style.css (line 144):

    .entry {
    border:1px solid #CCCCCC;
    font-size:1.4em;
    line-height:1.65em;
    padding:1em;
    }

    This doesn't wrap the titles and postmeta data. If you want these wrapped as well, you'll have to add some more markkup to your template to include your h2, h4, entry, and p.tagged.

    Make sense?

  3. afiovino
    Member
    Posted 3 years ago #

    ok thank you

  4. afiovino
    Member
    Posted 3 years ago #

    Is there any code to implement or anyway of changing the color of the content inside the border as you just described.

    my site is: http://www.blogstodiefor.com....

  5. Eric Amundson
    Member
    Posted 3 years ago #

    Yep, just add a color definition to the same entry:

    .entry {
    border:1px solid #CCCCCC;
    font-size:1.4em;
    line-height:1.65em;
    padding:1em;
    color: #666;
    }
  6. afiovino
    Member
    Posted 3 years ago #

    When I add the color: #.... it only makes the font color a light grey, not the actual the fill color inside the border.

    Also, when I go to my style.css file, there is no padding:1em.
    I added it and still no change.

    Any suggestions?

  7. afiovino
    Member
    Posted 3 years ago #

    ?

  8. nando99
    Member
    Posted 3 years ago #

    .entry {
    border:1px solid #CCCCCC;
    font-size:1.4em;
    line-height:1.65em;
    padding:1em;
    color: #666;
    background-color:#CCCCCC;
    }

    the background color will change the filled in color. the color code by itself is for the font color.

    as for the padding - you only want the padding on the post right? if you don't see a change with just 1em - try larger numbers till its the way you like it...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.