Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed header #67

Closed
okankocyigit opened this issue Oct 16, 2017 · 3 comments
Closed

Fixed header #67

okankocyigit opened this issue Oct 16, 2017 · 3 comments

Comments

@okankocyigit
Copy link

If we have a fixed header layout page, smartbanner is appears under that header.

Do you have a solution?

@ain
Copy link
Owner

ain commented Oct 18, 2017

Please post your meta tags that you're using to initialise smartbanner.js.

@shafaqat309
Copy link

shafaqat309 commented Dec 11, 2017

App banner is appearing after fixed banner, here are my meta tags.

<meta name="smartbanner:title" content="app title">
<meta name="smartbanner:author" content="my name">
<meta name="smartbanner:price" content="FREE">
<%--<meta name="smartbanner:price-suffix-apple" content=" - On the App Store">--%>
<meta name="smartbanner:price-suffix-google" content=" - In Google Play">
<%--<meta name="smartbanner:icon-apple" content="https://url/to/apple-store-icon.png">--%>
<meta name="smartbanner:icon-google" content="url to googleplay.png">
<meta name="smartbanner:button" content="VIEW">
<%--<meta name="smartbanner:button-url-apple" content="https://ios/application-url">--%>
<meta name="smartbanner:button-url-google" content="my app url">
<%--<meta name="smartbanner:enabled-platforms" content="android,ios">--%>
<meta name="smartbanner:enabled-platforms" content="android">
<meta name="smartbanner:disable-positioning" content="true">
<meta name="smartbanner:hide-ttl" content="10000">
<!-- End SmartBanner configuration -->

@ain
Copy link
Owner

ain commented Dec 11, 2017

Given your configuration, this is expected behaviour since you have smartbanner:disable-positioning set to true. It is advanced feature that will disable smartbanner's standard positioning logic so the responsibility for positioning smartbanner lies on you and styles you apply yourself.

See Disable positioning documentation for more information.

@ain ain closed this as completed Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants