Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #23671

    Hi there,

    I want to replace the mini curved arrow that appears during the rollover of the portfolio/blog images. The one within the round disc.

    Is it a font icon or graphic? either way, can you share with me how to swap it for my own graphic

    Cheers

    #120738

    Hi,

    Open css > base.css and find this line of codes

    .image-overlay{position: absolute; background: #fff; z-index: 500;}
    .image-overlay .image-overlay-inside{height:100%; width:100%; position: absolute; left:0; top:0;}
    .image-overlay .image-overlay-inside::before{position: absolute; border-radius: 50px; background: #000; height:80px; width:80px; line-height:80px; left:50%; top:50%; margin: -40px 0 0 -40px; z-index: 500; text-align: center; color:#fff;}
    .image-overlay .image-overlay-inside::before{content:"E744"; font-family: 'entypo-fontello'; font-size: 18px; font-weight: normal; }
    .image-overlay.overlay-type-extern .image-overlay-inside::before{content:"27A6";}
    .image-overlay.overlay-type-video .image-overlay-inside::before{content:"25B6";}
    #top .hide-inner-overlay .image-overlay-inside{display: none;}

    You can change the fontello symbols on these lines.

    .image-overlay.overlay-type-extern .image-overlay-inside::before{content:"27A6";}
    .image-overlay.overlay-type-video .image-overlay-inside::before{content:"25B6";}

    Something like this

    .image-overlay.overlay-type-extern .image-overlay-inside::before{content:"E714";}
    .image-overlay.overlay-type-video .image-overlay-inside::before{content:"E714";}

    Please refer to this link for more entypo fontello symbols.

    http://www.entypo.com/characters/

    Cheers,

    Ismael

    #120739

    Hi there,

    So it wouldn’t be possible for me to use a small single coloured png? it would need to be an Entypo font? My logo has a nice simple shape that would work well in its place.

    Cheers

    Andy

    #120740

    Hi there,

    Created a duplicate of the ‘base’ file and put it into my child folder, changed the numbers to another entypo code and it didnt work so I then changed the same lines in the main file ‘base’ in the enfold/css folder and it still didnt work

    Andy

    #120741

    Hi,

    Actually, you can.

    .image-overlay.overlay-type-extern .image-overlay-inside::before{content: url(../images/layout/loading.gif);}
    .image-overlay.overlay-type-video .image-overlay-inside::before{content: url(../images/layout/loading.gif);}

    Regards,

    Ismael

    #120742

    Hi there,

    Sorry but I cant get this to work at all. I tried copying the base.css to my own child theme, adding !important as well as trying it in the original base.css file within Enfold. Where am I going wrong?

    Ive ditch my own png image in favour of using a ‘cross’ in entypo. How can I make this work?

    My URL is http://www.andypeck.co.uk

    Cheers as always

    Andy

    #120743

    Did you check the image url – maybe ../images/layout/loading.gif is not valid in this case. Try an absolute url like: http://www.andypeck.co.uk/wp-content/uploads/2013/05/logo_main.png

    The code would look like:

    .image-overlay.overlay-type-extern .image-overlay-inside::before{content: url(http://www.andypeck.co.uk/wp-content/uploads/2013/05/logo_main.png);}
    .image-overlay.overlay-type-video .image-overlay-inside::before{content: url(http://www.andypeck.co.uk/wp-content/uploads/2013/05/logo_main.png);}

    You can also insert this code into the quick css field.

    #120744

    Hi again, I actually ditched using a png in favour of using Entypo (as originally suggested) but I cant make that work using your code

    Cheers

    Andy

    #120745

    Hey!

    Very strange. However we’ll close this thread now if you don’t want to use a png anymore…

    Best regards,

    Peter

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Rollover disc arrow replacement’ is closed to new replies.