Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1151324

    Hi Team,
    I hope you are well.
    I am just wondering if it is possible to remove the accordion toggle shadow when active. I actually don’t think I have seen it before, but now when my accordion is toggled I have the blue shadow around the active title box. Personally I don’t like it, so is this part of the accordion-style as I didn’t see a shadow in the styling. Is it possible to remove the shadow? It seems more pronounced on my Ipad. If I can’t remove the shadow, can I change the colour of the shadow to say #666666? I’m not too sure where it is getting that blue from though?
    My website is Peak Potential Adventures Website
    Warmest regards,
    Darren

    #1151389

    Hey Darren,
    We should be able to remove it but I don’t see your accordions, I have checked most every page. Please provide a direct link to the page.

    Best regards,
    Mike

    #1151419

    Sorry Mike, you can find the accordions on this page. We use them on our individual adventure pages.
    https://www.peakpotential.net.au/treks/six-foot-track/
    Cheers,
    Darren

    #1151429

    Hi,
    Thanks, I found that the border is actually created by the user agent for “:focus”, which is core css built into the browsers, this also explains why it looks different on your iPad. Anyways, please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:

    .main_color .toggler:focus {
    	outline: -webkit-focus-ring-color auto 0px !important; 
    }

    Best regards,
    Mike

    #1151469

    Hi Mike,
    That seemed to work when I use the desktop using the Chrome browser, but I still seem to have the shown on my mobile and Ipad device. I flushed my cache etc. Perhaps check you mobile Mike, but I would have thought that CSS would have worked for both desktop and mobile devices?
    Cheers,
    Darren

    • This reply was modified 5 years ago by darrenwise.
    #1151526

    Hi,
    Thank you for the feedback, I have an Android mobile and when I check your page now the outline doesn’t show for me, but I researched some more on the -webkit (Safari) version of this and this may be better:

    #top .main_color .toggler:focus {
    outline: 0 !important;  
    outline: 0 -webkit-focus-ring-color !important; 
    }

    Please give this a try.

    Best regards,
    Mike

    #1151551

    Hi Mike,
    Worked perfectly… thank you and great work.
    The ticket can be closed please.
    Warmest regards
    Darren

    #1151582

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    For any other questions or issues, feel free to start new threads in the Enfold forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Blue Shadows on Accordion Toggle’ is closed to new replies.