• Resolved Filip

    (@altehausmittel)


    Hi,

    was wondering is there an option to make an ad/photo sticky with your plugin? I am talking specifically about my header ad.

    Best
    Filip

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Spacetime

    (@spacetime)

    Sticky ads are available in Ad Inserter Pro:
    https://adinserter.pro/documentation/alignments-and-styles#sticky-ads

    However, you can use custom CSS code to create sticky top ad, for example:

    position: fixed; z-index: 9995; top: 0px; text-align: center; left: 50%; transform: translate(-50%);

    If your code is responsive you need to define also width and height.

    Thread Starter Filip

    (@altehausmittel)

    Hey SpaceTime

    Thanks I will definitely consider buying your plugin cus so far i have been very satisfied with it.

    I tried adding the custom css but it looks like this https://prnt.sc/lvlxg2

    Any other addition to the code maybe I can try?

    Thanks a lot
    Filip

    Plugin Author Spacetime

    (@spacetime)

    You can change/add any CSS parameter according to your needs. This is the code for top centered sticky ad.

    Thread Starter Filip

    (@altehausmittel)

    Hey,

    Yeah I see but it is overlapping with the menu.. do you thing there is something else that I cann add to the style that can push it up?

    I really appreciate your help

    Best
    Filip

    Plugin Author Spacetime

    (@spacetime)

    You can change top parameter to move sticky ad up or down.

    You can also try to modify theme CSS to push the menu down.

    Thread Starter Filip

    (@altehausmittel)

    Ok I did but it looks really small on mobile devices do i need to change the media queries too?

    Plugin Author Spacetime

    (@spacetime)

    Yes, you should use different size for mobile devices.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sticky ads?’ is closed to new replies.