• Page 1 of 1
  • 1
Forum moderator: bigblog  
uCoz Community » For Webmasters » Design Customization » Moving ad from top of screen
Moving ad from top of screen
Tommy0021
Posts: 6
Reputation: 0

Message # 1 | 11:32 PM
I currently have a free website, and the ad for ucoz displays at the top of the screen, which blocks the different pages of my website. Is there a way to move it so it is not blocking the top.
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 2 | 9:00 AM
Tommy0021, no, you can not move the ad banner, but you can move the content below.
hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
angry_jin
Posts: 53
Reputation: 0

Message # 3 | 2:55 PM
how? bigblog,
the quieter you become, the more you are able to hear.
joexyz
JOE-vascript
Posts: 1770
Reputation: 78

Message # 4 | 3:53 PM
angry_jin, use margin top for body with conditional operators.

Insert to the end of Bottom part of website template:

Code
<?ifnot($USER_LOGGED_IN$)?><style type="text/css">body {margin-top:44px !important;}</style><?endif?>


Pros.: The content will be moved below.
Cons.: There will be a little space if a guest uses AdBlock.

hey i'm joe and i do not work for the company anymore, please contact other staff or tech support
icon by ch-chau

sometimes i lurk here
angry_jin
Posts: 53
Reputation: 0

Message # 5 | 11:54 AM
bigblog, thanks dear, :::
the quieter you become, the more you are able to hear.
uCoz Community » For Webmasters » Design Customization » Moving ad from top of screen
  • Page 1 of 1
  • 1
Search: