Welcome Guest ! Please   Login or Register


Check out our latest Premium Themes, Majestic , Majestic - Dark and Musk Themes for MyBB 1.8 Click to Shop Now

Now open for Custom Theme requests : Click to Order Now





 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image button css postbit

Fring Offline
Junior Member
**

Posts: 7
Joined: May 2013
Likes Received : 1

Nationality: Italy

Mood: None

Points: 99.71Points
Post: #1
Image button css postbit

Hi, How can I put the image on the button css on postbit with CSS? The image near the text, but with CSS, like this forum
08-31-2013 04:14 AM
Find
0
Quote




envira Offline
Doctor Web
*******

Posts: 1,236
Joined: Aug 2012
Likes Received : 299

Facebook Google Plus Twitter
Nationality: India

Mood: Lazy

Points: 61,284.12Points
Post: #2
RE: Image button css postbit

You need to add images to your theme images folder > english folder and add images of your like.
Say i give you an example, i have image name email.png and i would add it to the folder.

Now go to your theme templates > postbit templates > postbit_email template.
You will find the code like this

Code:
<a href="member.php?action=emailuser&amp;uid={$post['uid']}" alt="{$lang->postbit_email}" title="{$lang->postbit_email}"/><img src="{$theme['imglangdir']}/postbit_email.gif" ></a>

You would have to change it like this

Code:
<a href="member.php?action=emailuser&amp;uid={$post['uid']}" alt="{$lang->postbit_email}" title="{$lang->postbit_email}" class="buttons"  /><img src="{$theme['imglangdir']}/email.png" style="vertical-align: middle;" />  E-mail</a>


This would help you.
In this forum we used Font-Awesome icon fonts.

For complete buttons tutorial please check here : http://myskins.org/Thread-Style-your-for...te-working

Hope this helps,
regards

[Image: lt79ucY.png]
(This post was last modified: 08-31-2013 04:32 AM by envira.)
08-31-2013 04:32 AM
Find
1
Quote




Fring Offline
Junior Member
**

Posts: 7
Joined: May 2013
Likes Received : 1

Nationality: Italy

Mood: None

Points: 99.71Points
Post: #3
RE: Image button css postbit

Hi, thanks for the reply but the image button in this forum is not with css? Because if I try to click with the mouse, the right button, don't out: copy image url

Sorry for my bad english
08-31-2013 05:08 AM
Find
0
Quote





Forum Jump:


User(s) browsing this thread: 1 Guest(s)

About Myskins

MySkins Studio is MyBB Themes Resource Website.

At MySkins Studio, We procreate MyBB Themes both custom MyBB Themes and premium Mybb Themes.We believe in quality and assure you the best MyBB themes at a very reasonable price , that suits your taste.

Feel free to drop in a request and get a quote.