Tagged: hide when logged in, login form
Author | Posts |
---|---|
johannesodeg
March 4, 2018 at 8:34 pm
|
Heads up! this post was created when Microthemer was at version 5. The current version is 7. Some references to the interface may be out of date. I have a loginform ( bb module ) that hide the form if user is loged in and show if user is loged out. I want to customise it with microthemer but how can I do that since it disapear when I am loged in? – Johannes |
Sebastian
March 5, 2018 at 12:18 pm
|
Hey Johannes, The best advice I can give for overcoming this problem involves copying the HTML of the content that only shows to logged out users into a test WP page, via the Text tab. And then styling that test page with Microthemer. This forum post explains the process step by step: https://themeover.com/forum/topic/a-conundrum/ The styles should also apply to the content on the original page too. Pay attention to the final point in the above article though: “One thing to watch out for is to make sure that when Microthemer generates CSS selectors for you, that they don’t include the id of the test page you are working on e.g. #post-56 form. Try to use classes that seem more generic e.g. form.register” It would be a good idea to enable the advanced toolbar in targeting mode, so you can avoid selectors that reference post-ids. You can change the default selector via the Targeting options in the right hand pane. Please let me know if you need help with this. Thanks, |
johannesodeg
March 9, 2018 at 11:51 am
|
Hi Sebastian, Thank you! I was able to use your solution. regards |