• Resolved jlongbrake

    (@jlongbrake)


    When I password protect a pages content and then unlock the page, the page content is returned wrapped in a div. Can this be removed or have an option added to not wrap the content? Wrapping the content breaks the layout on my password protected pages. It appears you are wrapping the content with the div in ?password-protect-page/public/class-ppw-public.php line 536. Is the wrapper even necessary?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WP Folio

    (@buildwps)

    Hello @jlongbrake,

    Thank you for reaching out to us.

    It seems that the issue you are experiencing with the layout on your password-protected pages may not be directly caused by the div wrapper that the plugin adds.

    It is possible that the problem is related to the CSS in your theme or other plugins that are conflicting with the styling of the protected content. To help you further with the layout issue on your password-protected pages, it would be helpful if you could reproduce the issue on a testing page using a testing password.

    Once you have done so, please share the testing page with us so that we can take a closer look and provide more specific guidance on how to address the issue.

    You can reach out to us at support(at)wpfolio.com

    Thread Starter jlongbrake

    (@jlongbrake)

    Yes, it is the CSS that is conflicting. I wasn’t asking you to correct that issue. I’ve already corrected the styling issue. I’m just saying that your plugin injects a div element on pages that have the password form. Pages without that form won’t have that extra div usually. Why would you not just leave the extra div off? It just creates a different layout to have to style. What is the purpose of the added div because it seems to work just fine for me when I remove it? Or why not add an option for people to choose if and how their content is wrapped? Just offering a suggestion.

    Plugin Author WP Folio

    (@buildwps)

    Hello @jlongbrake,

    We apologize for the delayed response.

    Your suggestions are welcome and appreciated. They have been passed along to the dev team. We value your suggestions but cannot promise that they will implemented.

    Please feel free to contact us here or reach by email at support(at)wpfolio.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Protected content wrapped in div when unlocked’ is closed to new replies.