Forums / Templates, Stylesheets, Page Layout / Help with tpl_top_nav.php in Black Pure Free template

Help with tpl_top_nav.php in Black Pure Free template

Views: 1,100

Results 1 to 4 of 4
24 Nov 2011, 4:27 PM
#1
0range98 avatar

0range98

New Zenner

Join Date:
Nov 2011
Location:
UK
Posts:
6
Plugin Contributions:
0

Help with tpl_top_nav.php in Black Pure Free template

I'm looking for some help positioning my google +1 icon to the right hand side of my page. I have managed to incorporate it within the top nav of the Black Pure Free template. I am happy that it is to the right of the checkout and shopping cart but I would like it aligned with the right hand side of the page. Also, I cannot seem to get it to align centrally (top and bottom) between the dotted line and the navigation bar.

I've copied what I think is the relevent code below and you can see the issue here https://www.potsofceramics.com (I've cut the contents of the td code as marked, it's to do with language selection which I don't have installed.

I'm grateful for any input, i've been messing with CSS all afternoon to try and fix it.

</td> <td class="td-languages"> <g.plusone size="medium" annotation="inline"></g.plusone> <div class="languages-wrapper"> [ [ snipped ] ] </div> </td> </tr> </table> </div> <div class="dotted-line line-header"></div> <!-- /tools section -->
24 Nov 2011, 4:41 PM
#2
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Re: Help with tpl_top_nav.php in Black Pure Free template

Where does it go when you put alignment in this line?

<g.plusone size="medium" annotation="inline"></g.plusone>

like this:
<g.plusone size="medium" align="right" annotation="inline"></g.plusone>

Google has a some info for developers on how to get the icons where you want them.
https://developers.google.com/+/plugins/+1button/#button-sizes

24 Nov 2011, 4:46 PM
#3
0range98 avatar

0range98

New Zenner

Join Date:
Nov 2011
Location:
UK
Posts:
6
Plugin Contributions:
0

Re: Help with tpl_top_nav.php in Black Pure Free template

Interesting, it's gone to the extreme right of the page, and sticks out on my screen. Thanks for that its a start, I'll have a bit mess on with it.

24 Nov 2011, 5:15 PM
#4
0range98 avatar

0range98

New Zenner

Join Date:
Nov 2011
Location:
UK
Posts:
6
Plugin Contributions:
0

Re: Help with tpl_top_nav.php in Black Pure Free template

Cheers, I'm happy with where that ended up. Thanks for the quick response.