inherit
200358
0
Jun 19, 2014 18:46:03 GMT -8
lualord
hi
32
September 2013
lualord
|
Post by lualord on Dec 3, 2013 16:40:37 GMT -8
So I'm making an announcement system where I edit the HTML and a big bar announcing whatever comes up. Problem is, it overlaps stuff so I set position relative to be able to use margin. Then, a big gap appears at the top of the website even though there is nothing there. If I set it to absolute, it fixes it but then I cannot use margin and the elements overlap. This is becoming really irritating please help.
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 22, 2024 20:50:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 3, 2013 19:16:50 GMT -8
A link to the problematic page would help! =)
|
|
inherit
200358
0
Jun 19, 2014 18:46:03 GMT -8
lualord
hi
32
September 2013
lualord
|
Post by lualord on Dec 4, 2013 5:47:45 GMT -8
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 22, 2024 20:50:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 4, 2013 13:30:14 GMT -8
Hmm, you could move the ad to the top of the forum, if you'd like. I don't think you need to define its position to use margin, at least I never have found it necessary though I could be wrong. Just putting it point-blank into the global header should get the effect you want without the need for anything further. Can you copy/paste the code here if neither of these suggestions help/work?
|
|
inherit
200358
0
Jun 19, 2014 18:46:03 GMT -8
lualord
hi
32
September 2013
lualord
|
Post by lualord on Dec 4, 2013 15:55:22 GMT -8
Hmm, you could move the ad to the top of the forum, if you'd like. I don't think you need to define its position to use margin, at least I never have found it necessary though I could be wrong. Just putting it point-blank into the global header should get the effect you want without the need for anything further. Can you copy/paste the code here if neither of these suggestions help/work? I'm not sure how to move the ads. Also, I used to use global header but it got really messy since it was just plain text not an HTML editor. HTML:<div>
<p class="notif">Test</p>
</div>
CSS:
.notif {color: #FFFFFF; font-family: 'Roboto', sans-serif; background-color: #18DC01; text-align: center; padding: 8px; width:89%; display: inline-block; position: relative; top: 220px; left: 80px;}
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 22, 2024 20:50:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 4, 2013 16:01:03 GMT -8
You shouldn't need positioning. When you put it into the header, it automatically goes underneath the logo. Otherwise you could put it into the Home or Forum Wrapper layout template and, again, it'll show up exactly where you want it. To move the ad, there's a Plugin for that
|
|
Kami
Forum Cat
Posts: 40,198
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,198
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Dec 4, 2013 18:28:45 GMT -8
You shouldn't need positioning. When you put it into the header, it automatically goes underneath the logo. Otherwise you could put it into the Home or Forum Wrapper layout template and, again, it'll show up exactly where you want it. To move the ad, there's a Plugin for that I just want to clarify something.
You are not allowed to move the google ads. That's against PB tos.
The plugin that is being referred to in this post moves the /welcome table/ to be placed below the ads, and not the ads to be above the welcome table.
I know this seems pedantic, but it's an important distinction to make TOS wise.
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 22, 2024 20:50:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 4, 2013 18:31:10 GMT -8
Ohkay, thanks for posting the clarification.
|
|
inherit
200358
0
Jun 19, 2014 18:46:03 GMT -8
lualord
hi
32
September 2013
lualord
|
Post by lualord on Dec 4, 2013 19:35:40 GMT -8
You shouldn't need positioning. When you put it into the header, it automatically goes underneath the logo. Otherwise you could put it into the Home or Forum Wrapper layout template and, again, it'll show up exactly where you want it. To move the ad, there's a Plugin for that Without positioning and at forum wrapper, it shows at top of the page.
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 22, 2024 20:50:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 4, 2013 19:36:58 GMT -8
Where are you putting it in the forum wrapper?
|
|
inherit
200358
0
Jun 19, 2014 18:46:03 GMT -8
lualord
hi
32
September 2013
lualord
|
Post by lualord on Dec 5, 2013 5:52:30 GMT -8
Where are you putting it in the forum wrapper? I think I see my mistake, I put it at the very top. Where should I put it?
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 22, 2024 20:50:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 5, 2013 10:47:14 GMT -8
It'll automatically position itself where you currently have it if you put it into your Admin > Structures > Header/Footers > Main Header or, if you want it to show up on every page and not just the homepage, Global Header. =)
|
|
inherit
200358
0
Jun 19, 2014 18:46:03 GMT -8
lualord
hi
32
September 2013
lualord
|
Post by lualord on Dec 6, 2013 7:23:54 GMT -8
It'll automatically position itself where you currently have it if you put it into your Admin > Structures > Header/Footers > Main Header or, if you want it to show up on every page and not just the homepage, Global Header. =) Thank you very much but what I mean is I want to put it in forum wrapper because it is an HTML editor so it is a lot more easy to edit. (I have trouble editing global header since it gets messy)
|
|
Former Member
inherit
guest@proboards.com
131621
0
Nov 22, 2024 20:50:40 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 6, 2013 17:04:25 GMT -8
Alrighty then in your forum wrapper find $[header] and put it directly under that =)
|
|