Jump to content

Change social icons into static bitmap image


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.

Edited by bsmither
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...