Forums / Templates, Stylesheets, Page Layout / Missing something? Can I move FB/TWIT using stylesheet?

Missing something? Can I move FB/TWIT using stylesheet?

Views: 626

Results 1 to 4 of 4
5 Aug 2011, 7:34 PM
#1
plsony avatar

plsony

New Zenner

Join Date:
Jul 2009
Posts:
54
Plugin Contributions:
0

Missing something? Can I move FB/TWIT using stylesheet?

Thanks guys and gals!

Heres the page http://www.midwestnotebooks.com/index.php?main_page=page_2

I copied and pasted the Twitter and Facebook from the tools they provide to get the links right into Define page editor.

I can use the stylesheet to move them up and down, right or left in the center column (not the header).

#pageTwoMainContent .twitter-follow-button{margin-left:10px;margin-top:37px}

#pageTwoMainContent #fb-root{margin-left:147px;margin-top:37px}

I simply would like to have them lined up like in the header but I am missing something as one would think having them the same distance from the top and different from right to left should work.

What basic knowledge am I missing?

Thanks in advance!

5 Aug 2011, 10:51 PM
#2
plsony avatar

plsony

New Zenner

Join Date:
Jul 2009
Posts:
54
Plugin Contributions:
0

Re: Missing something? Can I move FB/TWIT using stylesheet?

Anyone?

Is it impossible? Doesn't work that way?

6 Aug 2011, 10:23 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Missing something? Can I move FB/TWIT using stylesheet?

Editing define_main_page.php only can place things in the center section of your main page. Headers, footers and sideboxes have their own template files. It sounds like you want to add that code to includes/templates/freetemplate2/common/tpl_header.php.

6 Aug 2011, 7:17 PM
#4
plsony avatar

plsony

New Zenner

Join Date:
Jul 2009
Posts:
54
Plugin Contributions:
0

Re: Missing something? Can I move FB/TWIT using stylesheet?

Thanks,
I am satisfied, for the time being, with their placement in the header.
(It is an example of what I want the center section to look like)

I am trying to move the duplicates in the center.

I can get the twitter button to move up/down/right/left but I can only get the facebook to move up/down.

I would like them to line up in the center as they do in the header.