Mobile app version of vmapp.org
Login or Join
Gretchen104

: How to put fixedbanners at margin of website everyone.i been currently using wordpress for my website and my request is how i can put fixed banners outside the margin on left and right side

@Gretchen104

Posted in: #Wordpress

everyone.i been currently using wordpress for my website and my request is how i can put fixed banners outside the margin on left and right side i.e the banners should be placed in white spaces available beside left and right margin and also they should be fixed when scrolled.

if anyone please do know this can tell me so that i would be happy to use the same at my website

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Gretchen104

1 Comments

Sorted by latest first Latest Oldest Best

 

@Gretchen104

i myself has found the answer on web.so can close this

need to include this stylesheet

/* Begin Floating Ads Style */

float-left {

position:fixed;
top: 5px;
left: 10px;
bottom: 5px;
width: 125px;
height: 980px;
margin-bottom:15px;
border-bottom: solid #000000 ;
padding: 5px 0 5px 0;
}
#float -right {
position:fixed;
top: 5px;
right:10px;
bottom: 5px;
float:right;
width: 125px;
height: 980px;
margin-bottom:15px;
border-bottom: solid #000000 ;
padding: 5px 0 5px 0;
}
/* End Floating Ads Style */

and in header file

above body tag include this code


adcode



adcode


above adcode must be replaced with respective code

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme