Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #894950

    Hello,

    I’m having some trouble with the boarder color of the comment boarder area. I tried using the inspector tool and quick css but I was unable to get the color to change… I was able to solve other issues with this message and tried searching the forum but couldn’t figure this out.

    Here is the code I added

    .comment {
        border-style: solid;
        border-color: #000000;
    }

    I also tried without any luck.

    #comment {
        border-color: #000000;
    }
    #894966

    Hey,

    Would you like to remove the box shadow that is displayed on focus? If so, please use following code instead

    #top textarea:focus {
        box-shadow: none;
    }

    Otherwise, i am not seeing any borders in your comment section.

    Cheers!
    Yigit

    #894971

    Ahoy Yigit,

    The problem is that the comment section doesn’t have a boarder on or off focus… I want it to have boarder. I was trying to give it one with that code but it didn’t seem to work. I see in the general styling I can add a boarder but it also adds a boarder to the social icons which I didn’t really like.

    #895361

    Hey,

    Please use following code

    #top .main_color .comment-entry .input-text, #top .main_color .comment-entry input[type='text'], #top .main_color .comment-entry input[type='input'], #top .main_color .comment-entry input[type='password'], #top .main_color .comment-entry input[type='email'], #top .main_color .comment-entry input[type='number'], #top .main_color .comment-entry input[type='url'], #top .main_color .comment-entry input[type='tel'], #top .main_color .comment-entry input[type='search'], #top .main_color .comment-entry textarea, #top .main_color .comment-entry select {
        border-color: #e2e2e2;
    }

    Cheers!
    Yigit

    #895371

    Thanks! How did you find that element? I tried using inspector but don’t see that anywhere?

    #895377

    Hi!

    As you can see in this screenshot – https://i.imgur.com/FmCs0nT.png, comment inputs inherit “main_color” class. I added “comment-entry” class (slightly highlighted on the left side) and since it makes selector more specific, it overrides inheriting “main_color”.

    You are welcome! Let us know if you have any other questions or issues.

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Comment Border color’ is closed to new replies.