Home › Forums › WoodMart support forum › SVG in footer color
SVG in footer color
- This topic has 17 replies, 2 voices, and was last updated 3 years, 8 months ago by Elise Noromit.
-
AuthorPosts
-
March 1, 2021 at 5:34 pm #270188
[email protected]ParticipantHello i am trying to use svg icons in the footer section through html blocks.
However the color fill is not being inherited according to the selection.March 1, 2021 at 9:12 pm #270235
Elise NoromitMemberHello,
Please provide your site admin access to the private area. Your site is under construction I cannot view it.
Best Regards
March 1, 2021 at 10:06 pm #270244
[email protected]ParticipantLogs provided
March 2, 2021 at 11:45 am #270353
Elise NoromitMemberHello,
SVG images do not inherit any color styles by default. You will have to change SVG file and add the necessary color in the coder of the image.
Our theme does not influence the SVG view on the frontend.
If you have any questions please feel free to contact us.
Best Regards
March 2, 2021 at 11:48 am #270354
[email protected]ParticipantHello again,
The svg used has colors provided, however it isn’t been displayed accordingly in the frontend. Please check again the svg.
March 2, 2021 at 12:01 pm #270357
[email protected]ParticipantCheck for instance the stripe logo. Its blue and it turns out green.
Also when svg animations is on vivus.js fires an uncaught error in debug console.March 2, 2021 at 12:22 pm #270369
[email protected]ParticipantWhat i just noticed is that the use of information box is causing the conflict. Please check that when svg is coming through the image wp bakery element it is diplayed on the color we provided.
March 2, 2021 at 3:04 pm #270401
Elise NoromitMemberHello,
The problem is caused by SVG itself: some of your SVG images have styles that are applied to the whole page. As a result, the styles of one SVG icon influence the other. In order to solve this, you need to insert inline styles without classes.
You can open your SVG image in any text editor and manually change styles to inline like is shown on this screenshot https://prnt.sc/loz0mw.
If you create SVG in Adobe Illustrator we would suggest exporting SVG with appropriate CSS properties in the first place. During export from Illustrator choose style attributes. You can read more about resolving this issue in Illustrator here https://cobwwweb.com/inline-style-attributes-svg-elements.
Below I add an example file of the correct use of SVG styles.
Best Regards
Attachments:
You must be logged in to view attached files.March 2, 2021 at 3:28 pm #270410
[email protected]ParticipantThanks for the quick response.However I managed to resolve the issue with the use of svg from scratch since i realized the problem u are mentioning.
I will keep the svg example you provided for further use.
Did you had the chance to take a look on the error which is fired from the vivus.js which animates the vectors?March 2, 2021 at 8:32 pm #270444
Elise NoromitMemberHello,
Please provide the page URL and step-by-step description on how I can reproduce or see this error.
Please check if this error appears on the parent theme and when all the plugins not related to the theme are deactivated.
Best Regards
March 3, 2021 at 10:59 am #270632
[email protected]ParticipantAnother question is how i can use the infobox links with mailto: and tel: links.
March 3, 2021 at 1:25 pm #270691
Elise NoromitMemberHello,
Infoboxes are not designed for that. You can insert the full URL.
You will have to implement that by means of a Raw HTML element.
Best Regards
March 3, 2021 at 2:18 pm #270711
[email protected]ParticipantOne final question regarding the footer. I would like to ask if it is possible to use a collapsible menu list one mobile view through the widgetised sidebar. I have tried that and it doesn’t work. Thanks
March 3, 2021 at 3:46 pm #270728
Elise NoromitMemberHello,
The collapsed footer is available only for Footer column widgets. You need to Set the appropriate layout in the Theme Settings > Footer and move all the content into the widgets area accordingly.
Best Regards
April 9, 2021 at 12:19 pm #280769
[email protected]ParticipantHello again,
We are coming up again regarding the svg issue.
We launched the website yesterday and used litespeed for caching purposes.
However all our footer svgs which were correctly colored upon clients brand kit have being reverted to the stripes colours.April 9, 2021 at 7:19 pm #280972
Elise NoromitMemberHello,
Please check how they are displayed without the plugin, I am afraid our theme does not influence that.
Best Regards
April 12, 2021 at 11:33 am #281886
[email protected]ParticipantYes it’s the litespeed cache plugin that causes the issue. How are we going to tackle that, can you provide some help? It is crucial to use caching on ecommerce sites, we cannot avoid it unfortunately.
April 12, 2021 at 6:36 pm #282091
Elise NoromitMemberHello,
Unfortunately, we do not have instructions. Please try to contact plugin support.
Best Regards
-
AuthorPosts
Tagged: SVG footer
- You must be logged in to create new topics. Login / Register