• Resolved cbmc

    (@cbmc)


    I want to put a simple 2px box around each post that displays on the front page of my site. It’s in standard blog format, running the Fashionista theme.

    I’m not sure if I do this in CSS or PHP, or what files to edit or how.

    I am running the Simple Custom CSS plugin, not sure if I could insert something there without changing the theme files.

    Alternatively, I’m also wondering if I can put a uniform image at the bottom of each post displaying on the front page as a visual separator.

    • This topic was modified 8 years, 5 months ago by cbmc.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    1. Use this CSS in your Simple Custom CSS plugin,

    .content-area article {
        border: 2px solid black;
        padding: 10px;
    }

    That will create a box for each article in the home page, you can adjust the padding, and border color ( black ) according to your needs,

    2. For your second query, you can put an image by editing the PHP code, mostly index.php and add a image tag after the </article> tag, it will do the trick.

    Regards,

    Regards,

    Thread Starter cbmc

    (@cbmc)

    Thank you!

    Hi,

    You’re welcome. ??

    Keep rocking. ??

    -laranz.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘putting a simple box around posts on main page?’ is closed to new replies.