Home › Forums › SEA HTML5 Template › Change SVG colour and how to include an SVG
- This topic has 6 replies, 2 voices, and was last updated 4 years, 9 months ago by
SeaTheme.
-
AuthorPosts
-
August 16, 2021 at 11:28 am #25405
Hi
I’ve noticed on your home-tech.html page you have 3 images under the main menu “Strategic Services, implementation services and multi-cloud consulting”.
When I look at the code, these images seem to be SVGs – i’ve never had any experience with SVGs but i can see in the source code, there are a whole lot of numbers for the SVG.
What do these numbers mean? And are they what is creating the animation as you scroll past?
I don’t want to create an animation – but i want my graphics which will be vector based to change background colour as i scroll.
should i use the “data-logocolor” call out to do this?
is there anywhere i can read about how all of these SVG’s work?
thanks
August 16, 2021 at 11:56 am #25406I’ve done a bit of googling and found something called “SVGATOR” have you hears of that?
https://www.svgator.com/help/getting-started/how-to-add-animated-svg-to-your-website
I don’t want to animate my graphic, but as i said – i want it to follow the same colour transition as the font when i scroll down the page.
I just need some better understanding of how to place an svg in your single image modules. thanks
August 16, 2021 at 1:12 pm #25407Hi,
The number is for the path coordinate of the graphic. It is not possible to control the SVG animation by page scrolling(includes data-logocolor) in SEA theme for now.
You could use the SVG of the home-tech.html or replace your own SVG codes
<svg>...</svg>.August 17, 2021 at 2:34 am #25409thanks, its a learning process!
so currently those 3 svg’s change from white to coloured as you scroll down – is that due to a colour transition, or would that be part of the native svg animation?
August 17, 2021 at 7:19 am #25411August 18, 2021 at 8:07 pm #25422where do i change the data-frontcolor and can i apply that to a single module or only overall to the whole page? so for example could i have different data-frontcolor’s on the same page
August 19, 2021 at 2:28 am #25428The data-frontcolor is set on bm-wrap, when a Group module is scrolling in window, the elements of all page will be changed color, please refer to the Group section of Doc.
-
AuthorPosts
- You must be logged in to reply to this topic.
