Jump to content

Topic on Extension talk:Add to Any Share/Save/Bookmark Button/Archive 2

Alter Location of Button from Pooroldluser

1
Summary by Jkmartindale

I removed Pooroldluser's tip from the extension page because it's an unofficial hack. It's retained below for future reference.

Jkmartindale (talkcontribs)

Quick fix to shift button from the left to the right. This was required because it was very annoying trying to edit the page but having the pop up appearing all the time. All I did was put a DIV around the button and give it negative top margin so it is now in a better location. Others may wish for nicer coding, however this seems to work fine.

Steps:

  1. Open add-to-any-share-save.php (it will be in your extensions/add-to-any-share-save/ directory)
  2. Go to line 72, and insert the following code directly after the apostrophe (') and before <a class=...: <div style="width:100%;text-align:right;margin-top:-21px;">
  3. Go to line 75 and insert </div> immediately after </script> and before the apostrophe (').
  4. Save the file and upload it to the directory.