-
AuthorPosts
-
November 23, 2011 at 6:16 pm #171026
Hi
How do I place an advertisement above the header? I tried moving the ad from header_r to absolute but it places it the the left top corner of the homepage.
Is there another position available there that I can not see?
Attached pics…
- khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 23, 2011 at 6:49 pm #426175You login backend > extensions > templates > ja_teline_iv > layout tab > edit default layout, add this code
<block type="modules" style="raw" >top1</block>
after
<blocks name="top" style="xhtml">
You set position of module is top1
You find this code from /templates/ja_teline_iv/css/template.css
#ja-topbar {
height: 26px;
position: absolute;
top: 0px; < change it to 60px
z-index: 11;
}
November 23, 2011 at 7:58 pm #426184Can not find the code line:
<blocks name=”top” style=”xhtml”>Have looked in css/layout.css and css/template.css
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
November 24, 2011 at 10:27 am #426246The code isn’t in *.css file. You will see it by configure ja_teline_iv template.
December 1, 2011 at 6:40 pm #427505Okay Khoand
Inserted the code in layout tab
<block type=”modules” style=”raw” >top1</block>Changed code in .css file to
/* Top Bar —*/
#ja-topbar { height: 20px; position: absolute; top: 60; z-index: 11; }Rechanged code in .css file to
/* Top Bar —*/
#ja-topbar { height: 104px; position: absolute; top: 60; z-index: 11; }
[]All it does is drop the newsticker down below the menu. Position “top” is available but not “top1”
See attachments
-
khoand Friend
khoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 3, 2011 at 11:21 am #427713I looked your default layout. You haven’t inserted the code
<block type="modules" style="raw" >top1</block>
When you set position of module is top1, you type itDecember 3, 2011 at 4:59 pm #427770I had removed the code so that the News Sticker moved back to the correct spot.
When I followed your instructions above, the ad appears but the News Sticker moves with it.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 3, 2011 at 5:25 pm #427774You replace this code from /templates/your_template/css/template.css
#ja-topbar {
height: 20px;
position: absolute;
top: 0px;
z-index: 11;
}
with
#ja-topbar {
height: 20px;
position: absolute;
top: 105px;
z-index: 11;
}December 3, 2011 at 5:36 pm #427777Changed it to 105px, cleaned cache and it appeared as in the pic. Then changed it to 60px like yesterday and it stayed the same.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
December 3, 2011 at 5:46 pm #427780You code is not right
#ja-topbar {
height: 20px;
position: absolute;
top: 60;
z-index: 11;
}And snapshot of your website is
right code is
top: 60px;
But snapshot when change it to 60px is
Snapshot when I change it to 105px is
- December 3, 2011 at 6:04 pm #427783
Thanks! It was the “px” that was my problem. 110px worked great! 🙂
gjensen Friendgjensen
- Join date:
- April 2008
- Posts:
- 62
- Downloads:
- 1
- Uploads:
- 3
- Thanks:
- 20
- Thanked:
- 6 times in 1 posts
May 5, 2012 at 12:40 am #451503similar problem with header ad – my ad shows but when you click on it it goes back to home page. I’m trying to put in adsense javascript code. I turned off editor and inserted code via html,
AuthorPostsViewing 12 posts - 1 through 12 (of 12 total)This topic contains 12 replies, has 3 voices, and was last updated by gjensen 12 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
Absolute position
Viewing 12 posts - 1 through 12 (of 12 total)