• 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)

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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?

    Thread Starter afiovino

    (@afiovino)

    ok thank you

    Thread Starter afiovino

    (@afiovino)

    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: https://www.blogstodiefor.com….

    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;
    }
    Thread Starter afiovino

    (@afiovino)

    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?

    Thread Starter afiovino

    (@afiovino)

    ?

    .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…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Editing Format of Posts Help!’ is closed to new replies.