Jump to content

Change social icons into static bitmap image


Danny_cz

Recommended Posts

Hi, I am new here and I do not understand cubecart so much yet.

Im looking around {$SOCIAL_LIST}, because i see nothing in "follow us" area.

In admin -> dashoboard -> settings -> general i changed some URLs of social sites, but nothing change/apear.

Im doing some changes in my skin, but when i change back to default skin and clear cache, nothing change, in footer i can not see any social media buttons.

I hope, I did not make any mistake on my localhost - same thing happening me when i open Live Demo on this official site -> https://demo.cubecart.com/cc6/index.php

Untitled-1.jpg

 

I do not understand icon-sprites.svg so much, as I read about shapes and curves for web/svg purposes 20 mins ago. But I understand benefits of vector graphic in overall.

My question is, is it possible to easy replace "<path d="M1376 128q119 0 203.5 84.5t8...." in .svg with path to static jpg/png/bmp?

 

Thanks.

add

 

source code is here

...
<li><a href="https://twitter.com" title="Twitter" target="_blank" rel="noopener noreferrer"><svg class="icon"><use xlink:href="#icon-twitter-square"></use></svg></a></li>
<li><a href="https://vimeo.com" title="Vimeo" target="_blank" rel="noopener noreferrer"><svg class="icon"><use xlink:href="#icon-vimeo-square"></use></svg></a></li>

...

but, no icons apear...

Link to comment
Share on other sites

You may have an ad-blocker enabled.

At some point in the history of the ad-blocker (or maybe even the browser itself), there has been applied a CSS rule that hides hundreds of known classes and other designations.

In the template element.social.php, the <ul> tag has a class of "social-icons". This is one of the many names that the ad-blocker is looking for and will stop the display of the HTML node that has that class.

Please do not edit the SVG file.

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...