Style Switcher
Current time: 07-02-2012, 11:51 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The background image.
06-10-2007, 05:44 AM
Post: #1
The background image.
hello i had a question.

how do i add a pic on the background of a post.
Like the pencil used here.

[url=http//console-crazy.com/index.php][IMG]http://img124.imageshack.us/img124/5223/pimpsonsox4.jpg[/IMG][/url]
Find all posts by this user
Quote this message in a reply
06-10-2007, 11:43 AM
Post: #2
RE: The background image.
You need to edit postbit template

find
Code:
<div id="pid_{$post['pid']}">

and replace with this
Code:
<div id="pid_{$post['pid']}" class="post_bg">

than add this part in Additional CSS of your themes css

Code:
.post_bg {
background: transparent url(images/ivgeo_2/pencil.gif) bottom right no-repeat;
}

"Freedom is irrelevant. Resistance is futile." -- Borg Collective
Visit this user's website Find all posts by this user
Quote this message in a reply
07-10-2007, 07:46 AM
Post: #3
RE: The background image.
thank you. Im going to make a background now.

[url=http//console-crazy.com/index.php][IMG]http://img124.imageshack.us/img124/5223/pimpsonsox4.jpg[/IMG][/url]
Find all posts by this user
Quote this message in a reply
09-10-2007, 10:16 AM
Post: #4
RE: The background image.
how about the postbit_author_user how do i add a background to that? Thanks.

[url=http//console-crazy.com/index.php][IMG]http://img124.imageshack.us/img124/5223/pimpsonsox4.jpg[/IMG][/url]
Find all posts by this user
Quote this message in a reply
09-10-2007, 04:15 PM (This post was last modified: 09-10-2007 04:16 PM by ivgeo.)
Post: #5
RE: The background image.
Alrighty than.

Edit postbit_author_user template (add DIV tags)

This is my template

Code:
<div class="post_info">
<strong><span class="largetext">{$post['profilelink']}</span></strong><br />
<span class="smalltext">
    {$post['usertitle']}<br />
    {$post['userstars']}
    {$post['groupimage']}<br />
    {$post['useravatar']}<br /></span>
</div>
<div class="post_info">
<span class="smalltext">
    {$lang->postbit_posts} {$post['postnum']}<br />
    {$lang->postbit_group} {$usergroup['title']}<br />
    {$lang->postbit_joined} {$post['userregdate']}<br />
    {$lang->postbit_status} {$post['onlinestatus']}{$post['replink']}<br />
</span>
</div>

as you can see, I added two divs with class post_info

All you need to do is add post_info class to your css with desired effects.

Code:
.post_info {
background: #ffffff url(images/ivgeo_2/fun.gif) bottom left no-repeat;
}

"Freedom is irrelevant. Resistance is futile." -- Borg Collective
Visit this user's website Find all posts by this user
Quote this message in a reply
26-10-2007, 11:52 PM
Post: #6
RE: The background image.
Thanks for this! Ibeen looking for this everywhere!
Find all posts by this user
Quote this message in a reply
31-10-2007, 03:01 PM
Post: #7
RE: The background image.
can you give the pencil gif ?
The link doesn't contain the gif
Find all posts by this user
Quote this message in a reply
31-10-2007, 05:53 PM
Post: #8
RE: The background image.
http://www.ivgeo.net/mybb/images/ivgeo_2...pencil.gif
@Lp3R3n Wrote:can you give the pencil gif ?
The link doesn't contain the gif

"Freedom is irrelevant. Resistance is futile." -- Borg Collective
Visit this user's website Find all posts by this user
Quote this message in a reply
02-11-2007, 07:51 AM
Post: #9
RE: The background image.
oo thank you too ivgeo Wink +rep Wink
Find all posts by this user
Quote this message in a reply
02-11-2007, 10:55 AM
Post: #10
RE: The background image.
No problem.

Thanks for the rep
@Lp3R3n Wrote:oo thank you too ivgeo Wink +rep Wink

"Freedom is irrelevant. Resistance is futile." -- Borg Collective
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


 Quick Theme: