Please or Register to create posts and topics.

Some simple CSS for those interested.

I’m new to Wordpress (well, relatively), and always find things I wish were different, as we all do.

Adding custom CSS is one of the easiest ways to make changes. So I thought I’d share a couple of mine.

Round Avatars

I hate round avatars. I just do. Images are almost always square or rectangular, rounded containers crops stuff and just looks ugly. Yet you can’t get away from them. So here are a couple CSS snippets you can add to your site. In your WP admin screen, go to Appearance>Customize>Custom CSS, and paste them in to see how they work.

To get rid of the round avatars, you’ll need two snippets (is there no code formatting here??):

#af-wrapper img.avatar {
float: none;
border-radius: 0%;
border: 1px solid #ccc;
outline: none;
background-color: #fff;
display: initial;
box-shadow: none;
margin: 0;
padding: 0;
.asgarosforum-widget .widget-avatar img {
border-radius: 0%;
margin: 5px 10px 0 0;

The important parts in those two blocks are “border-radius: 0%;”. I copied the whole thing just for completeness. This will square up your avatars in both the forum listing and the widgets.

Topic Listing

I found that when viewing topics in Asgaros, the actual message box was too large when there wasn’t enough text to fill it up, lots of wasted space. I also wanted to differentiate the actual message so it was easier to see, so I changed the background color, and put a thin border around it. Here is the one CSS block to handle both of those things:

#af-wrapper .post-message {
-webkit-box-flex: 1 auto;
-moz-box-flex: 1 auto;
-webkit-flex: 1 auto;
-ms-flex: 1 auto;
flex: 1 auto;
width: 100%;
min-height: 50px;
box-sizing: border-box;
background-color: #ecf3f1;
border-color: cadetblue;
border-style: double;
border-width: thin;
padding: 5px;

The items I changed are:

min-height: 50px; – The default was 150px, just lots of wasted space for single line replies and such. 50px was just right for me. of course, the area expands as needed when there is more text.

background-color: #ecf3f1; – This one does what it says, changes the background color for just the message area.

– These next three work in conjunction, adding a border style of double lines, making it thin, and coloring it “cadetblue”. I like how it turned out, and it makes my forums much more readable.

border-color: cadetblue;
border-style: double;
border-width: thin;

I hope these are useful to someone!

Asgaros has reacted to this post.

Explore More: House Painters Phoenix | 5-Star Results – Experience the magic of professional house painters in Phoenix, specializing in exterior and interior painting. visit us our website to learn more.