WordPress.org

Support

Support » Plugins and Hacks » WPtouch Mobile Plugin » [Resolved] [Plugin: WPtouch] Possible to control placement of the #switch div in desktop theme?

[Resolved] [Plugin: WPtouch] Possible to control placement of the #switch div in desktop theme?

  • Is it possible to control where the MOBILE THEME ON/OFF div is placed in the desktop theme? I have a custom theme set up and and WPTouch is dropping the div just before the </body> tag, which makes sense… but I’d rather move it up a bit higher so it’s contained within another wrapper div. Anyone know if something like this is possible with the free version of WPTouch? Thanks in advance.

    http://wordpress.org/extend/plugins/wptouch/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author BraveNewCode Inc.

    @bravenewcode

    Hi,

    That is not supported at this time. The switch link ‘hooks’ to wp_footer. So it’s placement also depends how the desktop theme calls wp_footer in footer.php.

    Got it. Thanks for the response. I ended up handling this issue with CSS.

    paulluxford

    @paulluxford

    Hi Slurve,

    Can you explain how you did it with CSS.

    Thank you!

    I just positioned the #switch div absolutely at the top of my page. It would have been a challenge to position it anywhere else (like within a certain div somewhere) but it’s pretty simple to move it to the top of the page. I used !important to overwrite styles set in the plugin CSS.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: WPtouch] Possible to control placement of the #switch div in desktop theme?’ is closed to new replies.
Skip to toolbar