Sidebar background & border

https://evidenceofeternity.com/blog2/

I’d like to get this blog index page and post pages have a 5x black border around them, and to have the sidebar widget to have a grey background and 5px border, as seen here: https://evidenceofeternity.com/about-mark

Thank you for your help.

Hi there,

Please try this code:

.blog .entry-wrap {
    border-radius: 0;
}

.blog .x-container.offset {
    margin-top: 0;
    border: 5px solid #000;
}

.blog .x-sidebar {
    border: 5px solid #000;
    border-top: 0;
    border-right: 0;
    padding: 10px;
}

Hope this helps.

I made a few adjustments, but this got me going. Thank you!

This does not show up on post pages, only the index page. Can you help me get this to show up for all the posts?

Hi again,

Please replace the previous code with the following code:

.blog .entry-wrap, .single .entry-wrap {
    border-radius: 0;
}

.blog .x-container.offset, .single .x-container.offset {
    margin-top: 0;
    border: 5px solid #000;
}

.blog .x-sidebar, .single .x-sidebar {
    border: 5px solid #000;
    border-top: 0;
    border-right: 0;
    padding: 10px;
}

If you would like to learn CSS, I am sharing few resources that you take a look to get started with CSS and an interesting tool that you can use to speed up the development process.

I recommend you to watch following video that will help you to get started with CSS.

https://www.youtube.com/watch?v=MFR4WXiLzpc

Sometimes it can get a bit difficult to find out the right selector to be able to write the required CSS codes. A handy tool that can help you in this is Google Chrome dev tools. I am sharing the resource that you can refer to get started with dev tools.

https://developers.google.com/web/tools/chrome-devtools/css/

https://developers.google.com/web/tools/chrome-devtools/

https://www.youtube.com/watch?v=tP_kXBJWPhQ&t=200s

Hope this helps!

Thank you. Looks like that took care of it.

You’re welcome!
We’re glad we were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.