Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

[SOLVED] How to stop wrapping in post footer

Old Oct 6, 2010, 04:06 PM
49 posts · Feb 2010
I'm sure this is a really simple php thing, but I'm not great at that side of things so I'm hoping one of you clever chaps will be able to help out.

I've installed the social bookmarking plug-in AddToAny, with a view to replacing the %sociable% plug-in in my post/page footers (I tried sociable WP3.0 but can't figure out how to get it into the footer bar).
I have added the suggested code block to the footer areas in ATO/edit post-page footer items as follows:

%edit( 'Edit this post', '')% | %wp-print% | <?php if( function_exists('ADDTOANY_SHARE_SAVE_KIT') ) { ADDTOANY_SHARE_SAVE_KIT(); } ?>

What I can't figure out is how to get the Share icon bar to appear on the same line as the other footer options - it insists on wrapping to the next line, even though there is plenty of space. Am I missing something blindingly obvious here?

e.g: http://westerngeomancy.org/news/site-updated/
Using ATA 3.5.3, WP3.0.1

Old Oct 6, 2010, 07:23 PM
juggledad's Avatar
23,759 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I suspect that it is something the plugin is doing.

Here is how I would figure this out. Go and view the page, then look at the source of the page (all the browsers let you look at the source code of the page being displayed. Next copy this source and save it to a text document called 'test.html' Now open that file in your browser. You should see your page and here comes the fun part. If you edit the source and save it, you can refresh the page in the browser and see the change right away. And if something messes up really bad, your editor should have an 'undo' so you can back out the last change.

Now you can find the area of the HTML that is displaying the 'share this' (I normally rip out the footer and the sidebars to de clutter things) and tweak the code to figure out what needs to be added or subtracted to get it to look the way you want.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Oct 7, 2010, 03:59 AM
49 posts · Feb 2010
Hey, that's a neat trick with the source code, Juggledad. I never thought of trying that.

You're absolutely right - the plugin is adding an extra <div> that is causing the new line.

Now I just need to work out how to fix that in the plugin editor. I'm a little out of my comfort zone here as I'm still struggling up that learning curve when it comes to coding, but I'm sure I'll figure it out.

Thanks for the lesson - it's actually been more helpful than simply telling me the answer. That's what's so great about this forum. Much appreciated.
Old Oct 7, 2010, 01:35 PM
49 posts · Feb 2010
After some more searching, I found that this is actually a bug in the present release of AddToAny, as detailed on the support forums.
The fix is pretty simple, just requiring a small mod on the addtoany.min.css stylesheet.
All sorted now.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluid or Fixed width to stop alignment problems Kesava Atahualpa 3 Wordpress theme 2 Sep 9, 2010 12:27 AM
[SOLVED] Text wrapping on drop down menu in version 3.4.9. psomers Page & Category Menu Bars 5 Jul 28, 2010 06:01 PM
Stop! Don't post in the 'HOW TO' forum if.... paulae Forum How-To 4 Oct 19, 2009 01:12 PM
[SOLVED] News stop displaying in center column majofa Page & Category Menu Bars 1 Jul 19, 2009 10:11 PM
Table changes color/highlights with mouse hover. How do I stop it? InviteStory Atahualpa 3 Wordpress theme 2 Apr 24, 2009 01:05 PM

All times are GMT -6. The time now is 12:18 PM.

Powered by vBulletin® Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.