Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Hide Boxes if User is Logged In
New Landing › How can we help? › Themeforest Theme Support › Dante › Hide Boxes if User is Logged In
- This topic has 13 replies, 3 voices, and was last updated 10 years by Kyle – SUPPORT.
-
Posted in: Dante
-
May 5, 2014 at 4:21 pm #72245
It’s fantastic having a Sign Up Today section, but how do you hide it when a user is logged in…
May 5, 2014 at 4:44 pm #72260I’m logged in so how do I hide the sign up part.
May 6, 2014 at 9:59 am #72470I’m afraid that’s not a standard feature of the theme, if you need that functionality you would need to hire a developer
– Kyle
May 6, 2014 at 11:51 am #72539That’s really silly. Why would I buy a theme which can display a sign up, but not be able to hide when user is logged in? That defeats the purpose of having a sign up button.
May 6, 2014 at 11:58 am #72541You have added the sign up yourself, correct? It’s not on our demo
– Kyle
May 6, 2014 at 12:11 pm #72548True.
But there is a sign in, my account and a sign out section on the whole demo.I was able to do this widget logic option with a similar page builder, but as I love the theme, I had to do this with the swift builder.
– Robin
May 6, 2014 at 12:20 pm #72554Yes, the sign in and out feature is built into the theme, when you are not signed in, the link will show the sign in text and when you are signed in it will show my account and sign out. This is something that is built into the theme. You are referring to a static piece of text/button that you have added, therefore there is no function assigned to that block, so how would it know when the user is signed in?
– Kyle
May 6, 2014 at 12:22 pm #72559Sorry, it can however be done with css, if you provide me with a link I will give you some css so that you have hide that section when logged in
– Kyle
May 6, 2014 at 12:25 pm #72565Thank you so much Kyle. Greatly appreciated!
I’ll try and track the css ๐
SECTION ONE TO HIDE
<div class=”full-width-text spb_content_element alt-bg alt-four col-sm-12 mb0 bb0 pb0 no-arrow spb_text_column”>
<div class=”spb_wrapper clearfix”><h1 style=”text-align: center; margin-bottom: 20px;”>Ready to experience the next generation?</h1>
<p style=”text-align: center;”><span class=”text”>SIGN UP TODAY!</span></p></div>
</div>SECTION TWO TO HIDE
<div class=”full-width-text spb_content_element alt-bg alt-four col-sm-12 mb0 bb0 pb0 no-arrow spb_text_column”>
<div class=”spb_wrapper clearfix”><h1 style=”text-align: center; margin-bottom: 20px;”>Ready to experience the next generation?</h1>
<p style=”text-align: center;”><span class=”text”>SIGN UP TODAY!</span></p></div>
</div>SECTION THREE TO HIDE
<div class=”spb_content_element col-sm-6 spb_text_column”>
<div class=”spb_wrapper clearfix”>
<h3 class=”spb-heading spb-text-heading”><span>What is Guys+Girls?</span></h3><p><span style=”color: #444444;”>Vestibulum ac tempor magna. Nulla consequat ornare lorem, accumsan ultrices sem placerat et. Donec felis mi, ultrices et tristique eu, pretium vel ligula. Nulla facilisi. Nulla fermentum, sapien eu varius.</span></p>
</div>
</div>Hope you can help! ๐
Loving the theme, and greatly appreciate the help.
May 6, 2014 at 12:30 pm #72569Ok please add ‘hide-logged-in’ to the extra class field of each section you need to hide when logged in, then add this to your custom css:
.logged-in .hide-logged-in { display: none; }
– Kyle
May 6, 2014 at 1:11 pm #72582Cheers, greatly appreciated. I’ll check back with how it went ๐
May 6, 2014 at 1:15 pm #72587Thank you so much Kyle! Worked perfectly ๐
May 6, 2014 at 2:26 pm #72603Hi,
You most welcome . I’m glad that issue resolved . Thanks Kyle ๐ .
With Best Regards
Swift IdeasMay 6, 2014 at 2:39 pm #72617No problem ๐
– Kyle
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.