Hi
how we can hide products block in my account page in logout https://prnt.sc/xy50FtMJnZ8g
Hello,
Add a custom class for row, for example:
disable-for-non-logged-in
https://prnt.sc/TtV5ygwXJfk1
then add the next code in custom CSS for the page
.disable-for-non-logged-in {
display: none !important;
}
Regards
Hi
we add class name disable-for-non-logged-in in products block https://prnt.sc/fSRDLth8IZTq then add this code in my account page setting
https://prnt.sc/AjviFPppmeOy the result products block is hidden for login and out user , pls check
Hello,
You are right, please change the code to –
body:not(.logged-in) .disable-for-non-logged-in {
display: none !important;
}
Regards
The topic ‘hide block in logout’ is closed to new replies.
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.