Site logo

Archived topic

Rounded corners and black outline

9 replies · Started by Markus on February 7, 2017

Viewing posts 1–10 of 10

Hello,

I want rounded corners and blackoutline so i added this to my css:

.site-header{
-moz-border-radius: 10px 10px 0px 0px;
-webkit-border-radius: 10px 10px 0px 0px;
border-radius: 10px 10px 0px 0px;
}
.main-navigation{
-moz-border-radius: 0px 0px 10px 10px;
-webkit-border-radius: 0px 0px 10px 10px;
border-radius: 0px 0px 10px 10px;
}
/* Content rounded corners */
.inside-article {
-moz-border-radius: 30px;
-webkit-border-radius: 30px;
border-radius: 30px;
}
/* Widget rounded corners */
.widget {
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
.widget, .inside-article {
border-radius: 20px;
border: 1px solid #000000;
}

That works fine, but i whant the comments field to be round and have black outline and i dont want the widget blackoutlined but i whant the hole foot widget round and black outline.
What should i add to the css for it?
Se picture here and you probely understand: http://forumbilder.se/G7DP9/roundoutline
And how to i do to not get transparent backround outside name, email comments and so on whene u try to post a comment?
Thank you for any help!

Correction: iI dont want the footwidget blackoutlined

Hi Markus,

For comment area:

textarea#comment {
    border-radius: 20px;
    border: 1px solid #000000;
}

For footer widget:
First go to Customizer > Layout > Footer > Footer Widget Area Padding > 0 0 0 0
Next remove the hex code in Customizer > Colors > Footer Widgets > Background to make it transparent.
Then add this CSS:

.footer-widgets .widget {
    background-color: #ffffff;
}

Let me know if this works. If it doesn't can you provide a link to your site?

This CSS below should should do everything you specified in the two pictures.

.paging-navigation, .footer-widgets, .wp_review_comments_template #commentsAdd {
    border-radius: 20px;
    border: 2px solid #000000;
}
.wp_review_comments_template #commentsAdd {
    background-color: #ffffff;
}

You would have to change the hex color code of the border to whichever orange you want.

Thank you a lot! that solved almost all things! except comments already made. I want white background there to:
Se problem here:
http://forumbilder.se/G7DSH/spinso

I want all that white and rounded background like all other things. And what is that white box under post and over comments? Can i remove it or if i fix white background for comments it disappears?

Thank your again for your help!

Try this CSS:

.wp_review_comments_template .comment {
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid #000000;
    padding-left: 15px;
    padding-bottom: 3px;
}

and this...

.separate-containers .comments-area  {
    background: transparent;
}

nice

Glad you like it!

This archived topic is closed to new replies.