|
|
Thread Tools | Display Modes |
|
#1
|
|
|
Big grins
|
Please help insert group of social icons
Hi!
Here is my smugmug site: www.iafoto.ru I want to change my facebook icon on group of social networks icons from yandex.ru. Here is a code I'm inserting in to my custom footer: Code:
<script type="text/javascript" src="//yandex.st/share/share.js" charset="utf-8"></script> <div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="none" data-yashareQuickServices="vkontakte,facebook,odnoklassniki,moimir"></div> ![]() After I put a new code to my custom footer, the new icons has shifted to the left bottom corner: ![]() So what I am doing wrong? Thank you very much |
|
|
|
|
#2
|
|
|
Big grins
|
Smugers, please help! :)
|
|
|
|
|
#3
|
|
|
"tweak 'til it squeaks"
|
Can't help without seeing the code live. The script needs to run.
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
|
#4
|
|
|
Big grins
|
|
|
|
|
|
#5
|
||
|
"tweak 'til it squeaks"
|
Quote:
floats to get both on same line. Maybe display:inline; will work also but not sure how to use it. I see your screen shot with the code in. If we saw it in that condition we might be able to solve moving it.
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#6
|
||
|
Big grins
|
Quote:
|
|
|
|
||
|
#7
|
|
|
"tweak 'til it squeaks"
|
One thing I noticed is you have them in your footer and yet trying to get them on
your customHeaderWrapper line. Maybe adding the html there in the header instead?
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
|
#8
|
||
|
Big grins
|
Quote:
here is the code from old CustomFooterWrapper HTML Code:
</div> <!-- end customContentWrapper --> <div id="customFooterWrapper"> <div id="customFooter"> <div id="copyright"> <span>© </span> <script type="text/javascript"> var date = new Date(); document.write(date.getFullYear()); </script> <span> Антон Иванов-Капелькин</span> <span> | <a href="javascript:void(0);" onclick="this.style.display = 'none'; document.getElementById('siteCredits').style.display = 'inline';">Site Credits</a></span> <span id="siteCredits">Photo hosting by <a title="Photo hosting" href="http://www.smugmugpro.com/">SmugMug Pro</a> | Customization by <a href="http://www.fastlinemedia.com" target="_blank" title="SmugMug Customization and Templates"> FastLine Media</a></span> </div> <div id="socialIcons"> <a class="facebookLink" href="http://www.facebook.com/ivanovkapelkin" target="_blank"></a> </div> <div class="spacer"></div> </div> <!-- end customFooter --> </div> <!-- end customFooterWrapper --> |
|
|
|
||
|
#9
|
||
|
"tweak 'til it squeaks"
|
Quote:
Then perhaps putting the header stuff, nav etc., that you have showing in the footer area all in the actual footer box?
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#10
|
||
|
Big grins
|
Quote:
Perhaps few lines from CSS block could tell you little bit more? HTML Code:
/**************************************************************
* Custom Content Wrapper
**************************************************************/
#customContentWrapper {
padding:0 0 85px 0;
}
/**************************************************************
* Custom Footer
**************************************************************/
#customFooterWrapper {
position: fixed;
bottom:0;
left: 0;
width: 100%;
height: 20px;
background: #000000;
z-index: 110;
}
#customFooter {
width:100%;
min-width:950px;
}
/**************************************************************
* Social Icons
**************************************************************/
#customFooter #socialIcons {
position: absolute;
right: 10px;
top:-32px;
}
#customFooter #socialIcons a {
background: url('http://www.smugmug.com/photos/1266588149_v6XKT7s-O.png');
_background: none;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingmethod=image,src='http://www.smugmug.com/photos/1266588149_v6XKT7s-O.png');
display:block;
width:16px;
height:16px;
float:right;
margin: 0 0 0 10px;
-webkit-transition:all 0.3s ease-in;
-moz-transition:all 0.3s ease-in;
transition:all 0.3s ease-in;
}
#customFooter #socialIcons a:hover {
-webkit-transform:rotate(-5deg) scale(1.4);
-moz-transform:rotate(-5deg) scale(1.4);
transform:rotate(-5deg) scale(1.4);
}
#customFooter #socialIcons .twitterLink {
background-position: -16px 0;
}
/**************************************************************
* Copyright
**************************************************************/
#customFooter #copyright {
font-size:9px;
color:#4d4d4d;
padding:4px 15px 0 0;
position: absolute;
top:0;
right: 0;
text-align: right;
}
#customFooter #copyright a {
color:#4d4d4d;
}
/**************************************************************
* SmugMug Footer - Branding included in site credits.
**************************************************************/
#footer_wrapper,
#cobrand_footer {
display: none !important;
}
/**************************************************************
|
|
|
|
||
|
#11
|
||
|
"tweak 'til it squeaks"
|
Quote:
What I'm saying is your header/customheader is at the bottom of every page on your site. Why isn't all this put in your footer?
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#12
|
||
|
Big grins
|
Quote:
Put this code: HTML Code:
<script type="text/javascript" src="//yandex.st/share/share.js" charset="utf-8"></script> <div class="yashare-auto-init" data-yashareL10n="ru" data-yashareType="none" data-yashareQuickServices="vkontakte,facebook,odnoklassniki,moimir"></div> |
|
|
|
||
|
#13
|
||
|
"tweak 'til it squeaks"
|
Quote:
currently on the advanced customization page. Before doing any changes click the "email" button at the bottom of the advanced customization page to get a backup of all your customization.
__________________
Al My Website my Blog Mozilla Firefox Web Developer Firebug Customization FAQ Banner/Navbar/Slideshow Tutor |
|
|
|
||
|
#14
|
|
|
Big grins
|
Thank you very much Allen. I tried to move the code there, but unfortunately it did not help
|
|
|
|
| Tell The World! | |
| Similar Threads | Thread Starter | Forum | Replies | Last Post | ![]() |
| Aligning social media icons | MAHAROGERS | SmugMug Customization | 1 | Aug-10-2012 11:13 AM | |
| Help adding Social Icons to header | DetectiveZito | SmugMug Customization | 0 | Jun-23-2011 08:42 AM | |
| Be MORE Social - Get to the BE SOCIAL Screen in one click? | oceanthrsty | SmugMug Customization | 2 | Jan-25-2011 09:05 PM | |
| Social networking link icons on my pages | Markjay | SmugMug Customization | 12 | Jun-28-2009 01:26 PM | |
| You want answers? We need questions! (or ask Ron Reznick) | Harryb | Wildlife | 61 | Jan-15-2007 12:02 PM | |
| Thread Tools | |
| Display Modes | |
|
|