Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

positioning problem

  • 01-09-2011 2:33pm
    #1
    Closed Accounts Posts: 53 ✭✭


    This is part of my breadcrumbs navigation bar: barvk.jpg

    The google +1 Button used to be in the middle and not hogging the top so it was inline with the tweet button.

    Happened over night and I didn't touch it, so not sure how it happened.

    Tried removing the button code/script and re-adding but the issues still there. Also happens on every page, not just the one.

    Any ideas would be appreciated!


Comments

  • Closed Accounts Posts: 9,700 ✭✭✭tricky D


    Page URL?


  • Registered Users, Registered Users 2 Posts: 88 ✭✭HairMonster


    or the code that includes it?


  • Closed Accounts Posts: 53 ✭✭Stevo2007


    the code used is:

    [PHP]<div class="social-widgets">
    <ul>
    <li><!-- Place this tag where you want the +1 button to render -->
    <g:plusone size="medium" annotation="none"></g:plusone>

    <!-- Place this render call where appropriate -->
    <script type="text/javascript">
    (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
    })();
    </script></li>[/PHP]

    and this is the CSS.
    /* ========== Social Widgets ============*/
    .social-widgets {position:absolute; right:0px; top:0px;}
    .social-widgets li {float:left; margin-right:20px;}
    /*--- ie8 fix --*/
    .social-widgets li  .fb_share_size_Small  {top: 5px\0/; position:relative\0/;}
    .social-widgets li iframe{margin-top:5px;}
    

    This is what I used before aswel, and it worked fine but now for some reason the google button is raised.


  • Closed Accounts Posts: 9,700 ✭✭✭tricky D


    For ease and speed, page URL. Please?


  • Closed Accounts Posts: 53 ✭✭Stevo2007


    tricky D wrote: »
    For ease and speed, page URL. Please?
    Site isn't online yet.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 88 ✭✭HairMonster


    If it happened overnight and you didn't change anything on your site, then it would have to be an external change?

    I suggest wrapping everything in the li tag in a div.
    I always put external elements in a div and position the div instead to prevent any external changes affecting my layout.


Advertisement