Welcome to Admin Junkies, Guest — join our community!

Register or log in to explore all our content and services for free on Admin Junkies.

Background header in each forum

mastersly

Addicted member
Joined
Apr 29, 2020
Messages
988
Credits
0
Hello everyone.
In this tutorial I will show you how to add an image in each forum
Like this

Demo[size=small][font=Tahoma, Verdana, Arial, sans-serif]
https://inlobos.com/forumdisplay.php?fid=2&page=1
KhEQIx3.png
https://inlobos.com/forumdisplay.php?fid=4&page=1
CUGBimz.png
and add this

Code:
.forumnameonavatarcs {
text-align: center;
color: #fff;
font-size: 30px;
height: 115px;
margin-top: -151px;
}


ACP >> Templates and style>>Templates>>YOUR THEME>>Forum Display Templates>>forumdisplay
{$header}

Code:
<style>.forumsimagesbg1{opacity: 0.3;height: 230px;background: url("images/forums/{$foruminfo['fid']}.jpg") center center no-repeat #292929;background-size: cover !important;background-repeat: no-repeat;overflow: hidden;}</style>



<table width="100%" height="200" cellspacing="0" cellpadding="25" border="0" class='forumsimagesbg1' ></table>
<div class="forumnameonavatarcs">
{$foruminfo['name']}
</div>

images/forums/
If you havent folder "forum" in images just create one and upload banners to that folder

the image files should be named
1.jpg
2.jpg
3.jpg



 
Advertisement Placeholder
This can make all the difference in the world when it comes to a forum because there is a lot of people that use appeal and aesthetics in order to decide on a forum.
 
I don't really lo or should i just say i don't really understand what you mean. Are you talking about adding image to your profile or to your thread. The instructions posted is not actually clear
 
I am not a programmer and I always look forward to tips like this one. I have bookmarked this tutorial and hopefully use the tips to make changes on my forum banner.
 

Log in or register to unlock full forum benefits!

Log in or register to unlock full forum benefits!

Register

Register on Admin Junkies completely free.

Register now
Log in

If you have an account, please log in

Log in
Who read this thread (Total readers: 0)
No registered users viewing this thread.

Would You Rather #9

  • Start a forum in a popular but highly competitive niche

    Votes: 9 27.3%
  • Initiate a forum within a limited-known niche with zero competition

    Votes: 24 72.7%
Win this space by entering the Website of The Month Contest

Theme editor

Theme customizations

Graphic Backgrounds

Granite Backgrounds