The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Move the Online Button?

2 posters

Go down

Move the Online Button? Empty Move the Online Button?

Post by xGaming Sat Dec 03, 2011 12:27 pm

I'm wanting to move my online button in the top right corner.. currently it's where the profile is.. help?
avatar
xGaming
Forumember

Posts : 85
Reputation : 1
Language : English

Back to top Go down

Move the Online Button? Empty Re: Move the Online Button?

Post by Guest Sat Dec 03, 2011 12:38 pm

So, you want to move online img like on this forum?
avatar
Guest
Guest


Back to top Go down

Move the Online Button? Empty Re: Move the Online Button?

Post by xGaming Sat Dec 03, 2011 12:53 pm

Yes, in the corner..
avatar
xGaming
Forumember

Posts : 85
Reputation : 1
Language : English

Back to top Go down

Move the Online Button? Empty Re: Move the Online Button?

Post by Guest Sat Dec 03, 2011 1:13 pm

Edit your viewtopic_body template: Find:
Code:
{postrow.displayed.ONLINE_IMG}
and move/cut, then paste after this code:
Code:
<div class="postbody">
Save and publish.

Then add in your CSS Stylesheet:
Code:
img#i_icon_online{
  top: -40px !important;
  left: 4px;
  position: relative !important;
  z-index: 999 !important;
  float: right !important;
}

td.post-options{
  left: -55px !important;
  position: relative !important;
}

Note: You should play with these proprietes, because the theme:
=> top: -40px !important;
=> left: 4px;
=> left: -55px !important;
avatar
Guest
Guest


Back to top Go down

Move the Online Button? Empty Re: Move the Online Button?

Post by xGaming Sat Dec 03, 2011 1:33 pm

Um, tiny problem, i use the deafult punBB not a skin, so the template thing isn't showing up for me..
avatar
xGaming
Forumember

Posts : 85
Reputation : 1
Language : English

Back to top Go down

Move the Online Button? Empty Re: Move the Online Button?

Post by Guest Sat Dec 03, 2011 1:34 pm

Can you provide your forum url please?
avatar
Guest
Guest


Back to top Go down

Move the Online Button? Empty Re: Move the Online Button?

Post by xGaming Sat Dec 03, 2011 1:44 pm

avatar
xGaming
Forumember

Posts : 85
Reputation : 1
Language : English

Back to top Go down

Move the Online Button? Empty Re: Move the Online Button?

Post by Guest Sat Dec 03, 2011 2:35 pm

Ok, in this case find:
Code:
{postrow.displayed.ONLINE_IMG}
cut it and paste after:
Code:
<strong>{postrow.displayed.COUNT_POSTS}</strong>
Save and publish.

Add in CSS Stylesheet:
Code:
img#i_icon_online{
  top: -8px !important;
  left: 25px !important;
  position: relative !important;
  z-index: 999 !important;
  float: right !important;
}

div.posthead h2 strong{
  left: 12px;
  position: relative !important;
}
Save! Wink
avatar
Guest
Guest


Back to top Go down

Move the Online Button? Empty Re: Move the Online Button?

Post by M@rtina Sat Dec 03, 2011 2:46 pm

Thanks
avatar
M@rtina
New Member

Posts : 2
Reputation : 1
Language : Slavonski Brod

Back to top Go down

Move the Online Button? Empty Re: Move the Online Button?

Post by Guest Sat Dec 03, 2011 2:51 pm

Welcome. Wink
avatar
Guest
Guest


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum