-
AuthorPosts
-
July 28, 2014 at 7:37 am #296578
Hello –
I need to change the rollover icon for the main Gallery picture. See http://michelarthurmontmorency.com/?page_id=108
How do I do this? I tried this https://kriesi.at/support/topic/rollover-disc-arrow-replacement-part-2/ but it didnt work…
I would like to change to this icon U+2712
Thanks
July 28, 2014 at 8:49 am #296587and did you use .image-overlay .image-overlay-inside:before
i don’t know wheather it works with unicode fonts i used a custom font made on fontello font generatortry first of all this:
.image-overlay .image-overlay-inside:before { content: "✒"; -webkit-transform: rotate(30deg); -moz-transform: rotate(30deg); -o-transform: rotate(30deg); -ms-transform: rotate(30deg); transform: rotate(30deg); font-size: 70px; line-height: 70px; }
the transform is only to rotate the content. If you don’t like it – get rid of it
you can see an other solution here: https://kriesi.at/support/topic/custom-fontello-icon-set-to-standard-post-pic/
it is i guess in functions.php the line 218
'ov_image' => array( 'font' =>'entypo-fontello', 'icon' => 'ue869'),
concerning to your problem.
if you have a child-theme installed you can do it as described above.
or you can change it by editing the functions.php itself and have in mind after updates it could be loss than.btw . your mentioned U+2712 is an Fontello Icon or do you think that you can use unicode fonts here ?
- This reply was modified 10 years, 5 months ago by Guenni007.
July 28, 2014 at 8:51 am #296588an again a question : if your lightbox pictures are smaller than the preview-pictures above in the gallery – does this make sense to set the lightbox effect?
July 28, 2014 at 9:07 am #296592so now here my solution:
you can download here a svg file of your U+2712
http://www.fileformat.info/info/unicode/char/2712/index.htm
( http://www.fileformat.info/info/unicode/char/2712/black_nib.svg)than you can upload that svg file to http://fontello.com/
the fontello icons generator. you than can download this font as a zip file and upload it via your Enfold Options Dialog (Import/Export)
after that you can use this uploaded font in every icon context – to get the code of your sign use f.e. an Iconbox and navigate to your uploaded sign – on mouseover the code is shown.than you have to change the functions.php in that way described above
that line :
'ov_image' => array( 'font' =>'entypo-fontello', 'icon' => 'ue869'),
goes to f.e.
'ov_image' => array( 'font' =>'newfont', 'icon' => 'ue753'),
on fontello icon fontgenerator you can give a name to the downloaded font you created or selected there (here newfont)
July 28, 2014 at 7:47 pm #296953Does anyone else have any clearer (better english) suggestions?
Thanks
July 30, 2014 at 3:09 am #297529Hey!
Please see – http://kriesi.at/documentation/enfold/change-icon-used-for-standard-theme-elements/
Cheers!
YigitJuly 30, 2014 at 2:14 pm #297723hey Yigit – but the matter with it is that he doesn’t have an icon out of this entypo icon set.
He wants to use an unicode font.
This code in quick css works (just simple copy/paste) : http://www.guenterweber.com/lims/versuch/.image-overlay .image-overlay-inside:before { content: "✒"; -webkit-transform: rotate(30deg); -moz-transform: rotate(30deg); -o-transform: rotate(30deg); -ms-transform: rotate(30deg); transform: rotate(30deg); font-size: 70px; line-height: 70px; }
but i suppose he tried to analyse my bad english instead of trying to insert the code above.
this really encourages the readiness to help .the other method to create a custom font at fontello and upload it to enfold works too.
You only need a svg of the picture you want place for it.
Than he needs to change this: ‘ov_image’ => array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue869’),July 30, 2014 at 2:20 pm #297725Hey!
He should add font family as well, as following
.image-overlay .image-overlay-inside:before { content: '✒'; font-family: 'entypo-fontello'; }
Thanks for your help Guenter! Let us wait to hear from Mcraig77
Regards,
YigitJuly 30, 2014 at 2:50 pm #297733i thought that in entypo the U+2712 is that little feather http://www.entypo.com/characters/
July 31, 2014 at 6:57 pm #298378 -
AuthorPosts
- You must be logged in to reply to this topic.