• Resolved slurve

    (@slurve)


    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.

    https://www.ads-software.com/extend/plugins/wptouch/

Viewing 4 replies - 1 through 4 (of 4 total)
  • 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.

    Thread Starter slurve

    (@slurve)

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

    Hi Slurve,

    Can you explain how you did it with CSS.

    Thank you!

    Thread Starter slurve

    (@slurve)

    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 ‘[Plugin: WPtouch] Possible to control placement of the #switch div in desktop theme?’ is closed to new replies.