• Resolved birdog123

    (@birdog123)


    Hey there,

    Love it so far.

    What do you think about adding a way to do a fixed piece of content as we wish in the body as well (with widgets or the WP editor to come up with what we want fixed) IF sidebar content continues down the page when there is not enough content in the body so there is never really any blank areas?

    See this short custom video I made for you:
    https://screencast.com/t/wURm9kOUuKf3

    ***Do you know of other solutions or plugins for this out there now? Can you add this ability to your plugin later?

    ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Max Bond

    (@max-bond)

    Hi!
    I got your idea!
    Basicly there is no need in plugin modification. You have to modify your theme a little bit:
    1. Add new sidebar – content sidebar
    2. Place it under main content area
    3. Stylize it
    4. Then fix content sidebar widget like a sandard widget. That’s all!

    Thread Starter birdog123

    (@birdog123)

    Hello,

    Great.

    But…

    How can I place the widget created to where it appears at the bottom of all pages and posts without having to go into each one to do it?

    And

    How would I get the actual code for the widget to add it in a html/code section?

    I use “Ad Inserter” plugin so I think that would work to add the widget code to (“after post” content) but where can I find or get the actual widget code I need after I create the new content widget?

    ??

    Plugin Contributor Max Bond

    (@max-bond)

    Well… If you want to use “Ad Inserter”. You can add the code like this:
    <div id="content-widget-1" class="content-widget">... widget html code here...</div><!-- .content-widget-->
    Important – widget should have id attribute! In example above id is content-widget-1.
    To fix this kind of custom widget go to Appearance -> Fixed Widget Options and enter id (content-widget-1) into Custom Widgets ID list

    Thread Starter birdog123

    (@birdog123)

    I am close but still a little confused.

    I created a short custom video to show you where I currently am and the last few steps I may be missing to bring it all together:

    See here https://screencast.com/t/4Mx2Yw6rrG4

    ??

    Plugin Contributor Max Bond

    (@max-bond)

    Hm…
    Try to add this code:

    <div id="content-widget-1" class="content-widget">
      <div style="height: 100px; border: 1px solid red;"></div>
    </div><!-- .content-widget-->

    to “Ad Inserter” -> “content bottom” block.
    Then go to Appearance -> Fixed Widget Options and enter content-widget-1 to Custom HTML IDs.
    If all is ok, you’ll see red rectangle right after page content!

    Thread Starter birdog123

    (@birdog123)

    Working great fyi! But…on mobile look here as a example https://bit.ly/2hDQILS

    Scroll near bottom and notice the sticky body ad goes in and out between other elements on mobile? How might we force it to show on tablet and mobile only at the extreme last item when scrolling?

    Desktop is perfect! Thank you!

    Big smile!

    Greg

    Plugin Contributor Max Bond

    (@max-bond)

    I think it is better to disable plugin on mobiles. Because of mobile design… It’s not for sticky widgets ))

    To dsable use Disable width option. In your case you should set it to 1024. At this width sidebar is disabled.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fixed in the Body too IF sidebar content continues down the page?’ is closed to new replies.