Icons
-
Hello, When I created a box with the widget, sometimes I have an image and sometimes not! How to have an image to my title box?
thank you
-
Could you post an example of what you mean?
With pleasure on this article: titre
I want a icon to the title of the biography box and before titles boxes without icons.Hello,
Does someone has an idea or a track to help me
thank youGetting a 404 Page Not Found on that link
Thousand excuses here is the correct link
From Firebug, I can see this CSS is already active:
.widget h3:before { color: #E10707; font-family: 'genericons'; font-size: 1.5em; font-variant: normal; font-weight: normal; line-height: 0; padding-right: 5px; position: relative; text-transform: none; top: 8px; }All that’s missing is a pointer to a specific genericon. I’ve tried to add:
#text-11 .widget h3:before { content: '\f429'; }but no luck. Can you try in your CustomCSS or Child Theme to see if it works for you please?
You can get the different genericon codes from here If you click on Copy CSS link it will give you the correct content code for each icon.
I just do the test and it does not work!
it’s a shameI just tested this
widget widget_text, h3 widget de: before { color: #E10707; font-family: 'genericons'; font-size: 1.5em; font-variant: normal; font-weight: normal; line-height: 0; padding-right: 5px; position: relative; top: 8px; contenu:\'F429'; }and it does not work either
Maybe typos, but there’s several errors in your code.
ok
Hello,
I wonder if we should not add a new value with the name of the icon in class-fire-widgets.php in addition to changing the css style? But I can not do so!From another post, I saw a similar solution by using double-quotes, not single quotes. Can you go back to where we were and try:
#text-11 .widget h3:before { content: "\f429"; }I just try it and it does not work, I tried my hand at other codes but it is not good I do not know how to
Jean-Claude,
you might want to try to use
content: “<copy the glyph here>”;
instead.That what worked fine for me, when I had a similar problem.
See http://ww.wp.xz.cn/support/topic/text-widget-with-item?replies=7 or http://harry.subnetworx.de/ where you can see the result in the right column at the “Links” headline where I added the icon.Cheers, Zap.
Thank you for the boost, it works perfectly with this code as I use the icons on the original code.
Must be using the search fireburg No. box and adjust the css code based
for me it givesbox 13 # text-13 h3: before { content: '\ F412'; font-family: 'genericons'; font-size: 2em; top: 2px; }box 12 # text-12 h3: before { content: '\ F412'; font-family: 'genericons'; font-size: 2em; top: 2px; }it remains for me to adjust the css now
thank you very much my friend
The topic ‘Icons’ is closed to new replies.
