Site logo

Archived topic

How to make my Sidebar Bottom Ad sticky

11 replies · Started by surendra1506 on September 29, 2022

Viewing posts 1–12 of 12

Hi team,

I want to make my sidebar bottom ads i.e. skyscraper to be sticky.

Please help me to get this done.

Can you link us to a page where we can see the sidear?

classmate4u.com

Hi team,

I had not received any communication.

Please help.

It seems your previous reply slipped from our system, sorry about that!

I checked your site, unfortunately the bottom widget can not be sticky as the content area is shorter than the sidebar area.

You will need to move the widget to the top or higher position.

Let me know what you think :)

Hi Ying,

Thank you for your reply. In that case could you please tell me a way to place a sticky ad at the

bottom footer for mobile view only.

Do you mean this widget?
https://www.screencast.com/t/OoaWpcgN0

I don't see how it's possible as it will block all the other content on mobile if it's sticky.

Let me know if I miss anything.

No I mean, I want to place a sticky google adsense ad of size 300x50 at the bottom of the site for mobile view only.

I don't want sidebar ad to be sticky anymore.

Hi team,

This is for the first time I am not receiving any communication from your side.

Please answer my query.

I want to define once again that:-

I am using an element hook generate-after-right-sidebar-content.
In this hook, I placed a google Adsense ad with this hook.

My only requirement is that I want to make this hook sticky for all posts on my site.

Please help me to achieve this.

Thanks in advance

During weekends, we will try to reply in 48 hours, your patience is appreciated.

If you want the ads to be sticky, do not use the generate_after_right_sidebar_content, use generate_before_footer instead.

Once it's done we can have a look and write custom CSS to make it sticky on mobile.

Hi Ying,

I am done with footer sticky ads.

Now, I want my sidebar hook element that is showing adsense ad to be sticky.

I AM USING GENERATE AFTER RIGHT SIDEBAR ELEMEMT HOOK TO SHOW THAT AD.

Try usinggenerate_before_footerhook, and add hide-on-desktop hide-on-tablet class if you only want it to appear on mobile.

Once it's done, we can have a look at the layout and provide CSS to make it sticky.

This archived topic is closed to new replies.