Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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

    #296587

    and 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 generator

    try 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 9 years, 10 months ago by Guenni007.
    #296588

    an 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?

    #296592

    so 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)

    #296953

    Does anyone else have any clearer (better english) suggestions?

    Thanks

    #297529
    #297723

    hey 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’),

    #297725

    Hey!

    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,
    Yigit

    #297733

    i thought that in entypo the U+2712 is that little feather http://www.entypo.com/characters/

    #298378

    Hey!


    @guenni007
    I copied it from your post and only added font family

    Best regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.