Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #847216

    Hello
    I’ve looked at several posts and can’t get the hover icon to change, or make the circle opacity 1. I have this, below. Please advise. Thank you.

    I have tried the following, trying to make it the magnifying glass –

    content: ‘\F50D’;
    content: ‘\\F50D’;
    content: ‘\1F50D’;

    /* circle and arrows on hover */
    .image-overlay .image-overlay-inside::before {
    	/* to hide - background: none !important; */
    	background-color: #666 !important;
    	opacity: 1 !important;
    }
    
    .image-overlay.overlay-type-extern .image-overlay-inside:before {
    	/* magnifying glass - see http://web.archive.org/web/20140912210715/http://entypo.com/characters/ */
        content: '\\F50D';
        font-family: 'entypo-fontello';
    }
    
    
    #847306

    Hey webWahine,

    Could you post a link to the site in question so that we can take a closer look please?

    Best regards,
    Rikard

    #847322

    Hello, Rikard

    Yes, by all means! I have sent the information in the private area :)

    #847910

    Hi,

    I added following code to Quick CSS

    .image-overlay.overlay-type-extern .image-overlay-inside:before {
        content: '\E803';
        font-family: 'entypo-fontello';
    }

    Please review your website

    Best regards,
    Yigit

    #848220

    Thanks but I don’t see a change. Also, how can I make the circle opacity 1 please :)

    #848422

    Hi,

    1- Code i added changes the icon. Attached a screenshot in private content field.

    2- You have following code in Style.css file of your child theme

    .avia_transform a:hover .image-overlay {
        opacity: 0.4 !important;
    }

    Please edit it and change opacity level to “1”.

    Best regards,
    Yigit

    #848802

    Yes, but I want the black image overlay to remain as 0.4 and have the inner circle be opacity 1. they are obviously linked with that css but can I isolate just the circle to be 100%?

    I see the screenshot, thanks – odd, it’s not showing up after repeated refreshing…

    #849628

    Hi,

    You have following code in Style.css file of your child theme

    .avia_transform a:hover .image-overlay {
    opacity: 0.4!important; 
    }

    Please change it to following

    .avia_transform a:hover .image-overlay {
    opacity: 1!important; 
    }
    .image-overlay { 
    background-color: rgba(0,0,0,0.4); 
    }
    .image-overlay.overlay-type-extern .image-overlay-inside:before { 
    background: none !important; 
    }

    Best regards,
    Yigit

    #849684

    Sorry, not quite. Now the circle is gone.

    #850297

    Hi,

    Please remove the css modification then use the following filter to change the search icon.

    function avf_default_icons_mod($icons) {
    	$icons['search']	 = array( 'font' =>'entype-fontello', 'icon' => 'uf16d');
    	return $icons;
    }
    add_filter('avf_default_icons','avf_default_icons_mod', 10, 1);

    Adjust the font and icon value.

    Use the following css code to change the color and transparency of the overlay circle.

    .image-overlay.overlay-type-extern .image-overlay-inside:before {
        background: rgba(255,255,255,.5);
    }

    Best regards,
    Ismael

    #850654

    Thank you, Ismael, but I’m trying not to have to use any custom js so I have reverted back to having the circle and background at the same opacity.
    I also don’t want to keep bothering you with this tiny matter.

    With that said, when I link to the page –

    The magnifying glass is not anything like the code you sent that makes it show up instead. So where did you get –

    content: ‘\E803’;

    from please, when the site says it’s

    🔍
    U+1F50D
    🔍

    thanks again! :)

    #850857

    Hi,

    That is not a custom js. That is a filter to change the default icon value. Did you try it? Which icon would like you to replace it with? The character “F50D” is the same as “E803”. The code are different because Kriesi created a custom character map.

    Best regards,
    Ismael

    #851196

    Ah! So I can put that filter right into my style.css file? Where can I find the codes for your custom character maps, please? :)

    #851408

    Hi,

    You have to put the filter in the functions.php file. The charmap-compat.php and charmap.php files are located in the enfold\config-templatebuilder\avia-template-builder\assets\fonts\ folder.

    Best regards,
    Ismael

    #851720

    Ok, thank you, Ismael! I appreciate your help :)

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Change hover icon and opacity of circle on portfolio item’ is closed to new replies.