.svg on .png

  • Kleszewski
  • Kleszewski's Avatar Offline Topic Author
  • Platinum Member
  • Platinum Member
  • I like playing chess.
  • Posts: 529
  • Thanks: 16

.svg on .png was created by Kleszewski

Posted 3 years 10 months ago #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.

Replied by ced1870 on topic .svg on .png

Posted 3 years 10 months ago #56889
Hi
why ? svg works without problem by my side
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by ced1870 on topic .svg on .png

Posted 3 years 10 months ago #56890
PS : you can override this using CSS if you prefer

Joomlack Webmaster and Developer

by ced1870

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

  • Kleszewski
  • Kleszewski's Avatar Offline Topic Author
  • Platinum Member
  • Platinum Member
  • I like playing chess.
  • Posts: 529
  • Thanks: 16

Replied by Kleszewski on topic .svg on .png

Posted 3 years 10 months ago #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
Last Edit:3 years 10 months ago by Kleszewski
Last edit: 3 years 10 months ago by Kleszewski.

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

Replied by ced1870 on topic .svg on .png

Posted 3 years 10 months ago #56892

Joomlack Webmaster and Developer

by ced1870

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

  • Kleszewski
  • Kleszewski's Avatar Offline Topic Author
  • Platinum Member
  • Platinum Member
  • I like playing chess.
  • Posts: 529
  • Thanks: 16

Replied by Kleszewski on topic .svg on .png

Posted 3 years 10 months ago #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
Code:
#cookiesck_options { background-color:#ffcc9a !important; }
This message contains confidential information
Last Edit:3 years 10 months ago by Kleszewski
Last edit: 3 years 10 months ago by Kleszewski.

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

Time to create page: 0.715 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1234 guests and one member online