You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Online

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

#109217 PopUp Icon

Posted in ‘Mediabox’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by matrix on Thursday, 28 October 2021 10:49 BST

matrix
The Popup Icon is white. When i have a white image/background, the popupicon is not show for the user.
Is it possible to make a black background for the icon like this:



when yes - how i made this?

thank's

Attachments

Ryan
Adding a background won't work well for this, so I suggest making the icon a darak grey. You can do this by adding the following to your template stylesheet:

.wf-icon-zoom-image>svg {
    fill: #444;
}

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

matrix
why not?
i have made this:

.wf-icon-zoom-image>svg {
background-color: #ebebeb;
}

result:

Attachments

Ryan
I only suggest not using a background because the icon is not square, and is positioned off center, (annoying svg) so it looks a little untidy.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

matrix
Well - for me it fits like this ...
Maybe you can solve this differently in the future so that the magnifying glass is visible on all pictures ... :)