-
AuthorPosts
-
May 24, 2017 at 5:02 pm #799034
Hi everyone,
I have attempted to add the AVVO icon to my client’s header.The website is http://beechlertomberlin.com/
I followed your direction and changed the functions.php this way:
// We’ll use the Kriesi.at glyph for this example
function avia_add_custom_social_icon($icons) {
$icons[‘AVVO’] = ‘AVVO’;
return $icons;
}And added this to the css:
#top #wrap_all .av-social-link-AVVO a:before{
content: “”;
width: 120px;
height: 29px;
display: inline-block;
vertical-align: middle;
background: url(http://beechlertomberlin.com/wp-content/uploads/avvo-logo.png) no-repeat center center;
background-size: contain;I added this link into the url in the social profiles area:
https://www.avvo.com/attorneys/27103-nc-christopher-beechler-1727453.htmlI uploaded the AVVO image to the website:
http://beechlertomberlin.com/wp-content/uploads/avvo-logo.pngEverything works, except that I still have the Fontello Icon in the header rather than the AVVO image. How can I get the image to render there??
May 25, 2017 at 8:05 pm #799761Hey Christine,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaMay 26, 2017 at 10:47 pm #800427thanks for following up… see below:
May 27, 2017 at 3:56 pm #800542Hi cloeffler,
The icon is partially visible if you’re logged in in dashboard, and not visible if logged out.
Best regards,
VictoriaMay 29, 2017 at 6:00 am #800947I don’t understand what you are seeing.
When I go to the header section I get these in the social profiles area:And, regarding the age of the theme, this is what the Enfold Child theme update area is telling me:
http://beechlertomberlin.com/wp-content/uploads/Screen-Shot-2017-05-28-at-11.55.29-PM.jpgPlease help me understand if I’m not seeing these correctly…
May 29, 2017 at 7:48 am #800957Hi!
I looked at your style.css, and it seems like the code for the social media icon hasn’t taken effect. This usually happens when you have a caching plugin, or your host has a caching service installed for you. Please make sure you flush your cache or talk to your host.
Best regards,
SarahMay 30, 2017 at 5:31 am #801353I have flushed the cache, and now I get 30 pixels of the 120px width of the graphic. Please help me with the css that would fix this issue so that I can see the whole AVVO graphic, which is 120px wide. This needs to work in the header and in the socket.
thanks.
May 30, 2017 at 6:06 am #801364Hi,
Please add this in your Quick CSS:
#top #wrap_all .av-social-link-AVVO {width:120px;}
Don’t forget to flush your cache after saving, so you can see the changes! :)
Best regards,
SarahMay 30, 2017 at 9:22 am #801411It worked! Thanks so much!!
May 30, 2017 at 11:02 am #801438Hi,
Glad that Sarah helped you :) Thanks for using Enfold :)
Best regards,
Nikko -
AuthorPosts
- The topic ‘Add custom image and link to Social Profiles’ is closed to new replies.