LMS Social Share Twitter have To Change To X - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

LMS Social Share Twitter have To Change To X

Alvaro

Alvaro

Extension 1 year ago

LMS social Share icon Twitter have to change to X

0
8 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #165760

Hola Alvaro,

A small problem becuase Font Awesome 5 does not have a NEW Twitter icon, only old one.

I know that you are not afraid challenges, so please download Font Awesome 6 Free package, Unzip it. And replace/override those files:

  • templates\edulif\css\font-awesome.min.css
  • and all files here: templates\edulif\fonts

Then use that Custom CSS

.splms-icon-twitter::before {
  content: "\e61b";
  font-family: "Font Awesome 6 Free";
  font-weight: 600; }

It should help :) in theory.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #165761

Yes, there is alternative method in case of...

0
Alvaro
Alvaro
Accepted Answer
1 year ago #165858

in which file I have to make custom code? I saw inside LMS font-splms.css with this code font-family: 'splms'; src: url('../fonts/splms.ttf?9e6gz9') format('truetype'), url('../fonts/splms.woff?9e6gz9') format('woff'), url('../fonts/splms.svg?9e6gz9#splms') format('svg'); font-weight: normal; font-style: normal; font-display: block; }

0
Alvaro
Alvaro
Accepted Answer
1 year ago #165871

then I have to edit template.css in edulif?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #165864
0
Alvaro
Alvaro
Accepted Answer
1 year ago #165866

font-splms.css is the file where is the icon inside LMS component

has his own code for font family font-family: 'splms'; src: url('../fonts/splms.ttf?9e6gz9') format('truetype'), url('../fonts/splms.woff?9e6gz9') format('woff'), url('../fonts/splms.svg?9e6gz9#splms') format('svg'); font-weight: normal; font-style: normal; font-display: block;

and code for twitter icon 
}

.splms-icon-twitter:before { content: "\e65d"; }

line 327 to 330

but can not upgrade this file to awesome font 6 free

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #165869

Do not edit component files! It does not make sense.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 year ago #165872

As I said before you can also use alternative method

  1. download image file (Save Image as) >> x.png

  2. Upload to /images folder

  3. Then use that Custom CSS:

.splms-icon-twitter::before {content: url("/images/x.png"); display: inline-block;height: 16px;}

0