-
AuthorPosts
-
August 3, 2015 at 12:12 pm #348713
Hi,
I built a sub-site and the anchor icon is not showing. (http://katalyst5.com/wp/learn/en/)
When I inspect the element, it showed its size to be 0px by 0px.
I added some CSS in CUSTOMIZE/CUSTOM to try to force it to show (see below), but it’s not working.
Any ideas?
Thank you!
/* appearance of scroll top button */
.x-scroll-top {
border: 4px solid #d33333 !important;
color: #d33333 !important;
align: right !important;
background-color: #ffffff !important;
}/** NOT WORKING **/
.x-icon-angle-up {
color: #d33333 !important;
width: 27px !important;
height: 17px !important;
}August 3, 2015 at 1:57 pm #348795Hi There,
Thanks for writing in! You can add this under Custom > CSS in the Customizer.
.x-icon-angle-up::before { content: "\\f106"; }
(If the content (\\ f106) get formatted, let’s use the unicode value from here – http://fontawesome.io/icon/angle-up/ )
You choose other icon from here too – http://fontawesome.io/icons/
Hope this helps.
Cheers!
August 3, 2015 at 4:11 pm #348903It works. Thank you!!
August 3, 2015 at 8:13 pm #349088Hi There,
Just a bit info about this. Customizer remove one backslash (/) every time you save your customizer settings, with that said you need to update the code and add one / every time you save.
Maybe you want to add the css code on the style.css file of your child theme instead, to save you time of adding backslash. On the style.css the given CSS code would have only one backslash.
.x-icon-angle-up::before { content: "\f106"; }
Glad we could help, Cheers!
August 4, 2015 at 6:06 am #349502Thanks! I put it in the style.css after the line
@import url( ‘../x/framework/css/site/stacks/ethos.css’ );
and it works.
August 4, 2015 at 6:34 am #349530You’re welcome! 🙂
-
AuthorPosts