Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: .svg on .png

.svg on .png 18 Jun 2020 06:09 #56887

Hi

Can you change the file
cookies-icon.svg on
cookie-icon.png

plugins/system/cookiesck/assets/

Please Log in or Create an account to join the conversation.

.svg on .png 18 Jun 2020 06:38 #56889

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 23046
  • Karma: 427
  • Thank you received: 2907
Hi
why ? svg works without problem by my side
CEd
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

.svg on .png 18 Jun 2020 06:38 #56890

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 23046
  • Karma: 427
  • Thank you received: 2907
PS : you can override this using CSS if you prefer
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

.svg on .png 18 Jun 2020 06:42 #56891

It works very well on my side, but the client wants this cookie image to be red and my Adobe photoshop is old and doesn't support .svg files :) so I'm having trouble
The color of this cookie image can be changed only via css?
And I don't have to replace the whole picture with another one

Please Log in or Create an account to join the conversation.

Last edit: by Kleszewski.

.svg on .png 18 Jun 2020 06:57 #56892

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 23046
  • Karma: 427
  • Thank you received: 2907
Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

.svg on .png 18 Jun 2020 07:20 #56893

It's not so simple :) . I think we got it wrong. I replaced this png file myself. svg (online generator), I replaced the new red cookies-icon.svg with a changed file, but on but when placed on the page further around the image with a cookie you can see a white background.

And it should be like this in the picture the color of the cookie: # bf1773
the background color on which it is placed: # ffcc9a
new red cookies-icon.svg
http://kleszewski.hs6.linux.pl/forum/2.svg (Forum post editor doesn't support svg files? , I added a link but didn't show the image)
And on the site it looks like this:
Where does the white background around the picture come from?

Ok, I found a solution
#cookiesck_options
{
background-color:#ffcc9a !important;
}
This message contains confidential information

Please Log in or Create an account to join the conversation.

Last edit: by Kleszewski.
  • Page:
  • 1
Time to create page: 0.250 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 572 guests and no members online