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

    Hi, as you can see, I have two social icons in my footer. If you hover over them, the coloured squares appear. How can I make all their corners round? At the moment I use this code #top .av-share-box ul {border-radius:8;} in Quick CSS, but only the bottom left corner of the first icon is affected.

    #1370665

    Hey ThomasN001,
    Try this css instead:

    .av-share-link:hover a {
    	 border-radius: 8px;
    }

    2022-10-29_005.png

    Best regards,
    Mike

    #1370700

    Hi Mike, that’s it… almost. When I click on an icon the coloured square stays on, but the corners aren’t rounded. Only when I hover over them (which makes sense regarding the code). I know this is rather nit-picking, but even out of pure curiosity I’d like to understand, why the other code I used only affected the bottom left corner of the first icon.

    #1370705

    Hi,
    Thanks for the feedback, try this css instead:

    .av-share-link:hover a,
    .av-share-link a:focus {
    	 border-radius: 8px;
    }

    Your css produced an error because it didn’t include “px” after the “8” so the browser didn’t know 8 what ie: px, em, pt, cm, etc
    also there is no ul after the .av-share-link, so your result was an error.

    Best regards,
    Mike

    #1370706

    Thanks Mike, for the explanations. Everything’s fine now! You can close the thread.

    Regards,
    Thomas

    #1370708

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Round corners for social icons’ is closed to new replies.