This topic has 25 replies, 3 voices, and was last updated 8 years by hotloverspassion.
-
Author
-
July 18, 2015 at 21:36 #68868bharathyParticipant
Hi,
After the user register and logs in the home page form should go away (in our case registration form) http://virtualui.net/KREC90/
Let me know how to achieve that. Thanks!
July 20, 2015 at 03:24 #69002LauraModeratorHello, you can use the mixed form, when the user is logged in, he will see search form instead.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 22, 2015 at 07:06 #69408bharathyParticipantHi,
After logged in there is no need for any form to display in my case.
Can you help me how to do that? Thanks
July 23, 2015 at 08:54 #69560LauraModeratormhm i see, so you want to hide the form for logged in users then?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 24, 2015 at 06:56 #69751bharathyParticipantYes. thats the idea. Let me know how to achieve that. Thanks
July 24, 2015 at 23:45 #69925LauraModeratorHello, please copy header.php of main theme and paste in in child theme folder, then add this code just after the <head> tag
COPY CODE<?php if ( is_user_logged_in() ) { <style type="text/css" media="screen"> .form-wrapper { display: none; } </style> } else { ?> <?php } ?>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 25, 2015 at 11:22 #69961bharathyParticipantHi,
Need one quick clarification.
I have installed the child theme Do i have to activate it? what happens to the main theme corrections?
July 27, 2015 at 08:34 #70133LauraModeratorHello, all corrections should be on the child theme, because this way you dont lose them. So it needs to be activated 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
July 30, 2015 at 17:05 #70751bharathyParticipantHi,
I’ve activated the child theme copied header.php and added the piece of code you provided after <head> tag.
But the page is going blank! Let me know what could be the issue or did i do something wrong.
Thanks
August 1, 2015 at 18:05 #71103LauraModeratorHello, i think i know the issue, add this istead:
COPY CODE<?php if ( is_user_logged_in() ) { <style type="text/css" media="screen"> .form-wrapper { display: none; } </style> } else { ?>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
August 4, 2015 at 12:50 #71477bharathyParticipantThis error i’m getting. planning to go live by today. help to solve this issue is appreciated. Thanks
Parse error: syntax error, unexpected ‘<‘ in /home/content/45/11398045/html/KREC90/wp-content/themes/sweetdate/header.php on line 22
August 6, 2015 at 03:34 #71809LauraModeratorHello, this should work, let me know 🙂
COPY CODE<?php if ( is_user_logged_in() ) { ?> <style type="text/css" media="screen"> .form-wrapper { display: none; } </style> <?php } ?>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
August 7, 2015 at 04:17 #72112LauraModeratorGlad it worked!
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
May 30, 2016 at 00:57 #123535hotloverspassionParticipantHi,
I tried your code above and it works great! But I would also like to hide the header image as now after the form is gone, the site looks messy with the image smaller and right at the top of the page along with the navigation menu. I was thinking to hide the image using display: none; but I can’t locate the css for the header image. Can you send me the code?
Thanks 🙂May 30, 2016 at 22:03 #123668LauraModeratorHello, can you share a link so i can see it? And a screenshot 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
June 1, 2016 at 01:11 #123883LauraModeratorHello, if your site is not live i cant see it, at the demo of the theme, can you point me where is what you want to hide?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
June 1, 2016 at 21:26 #124002LauraModeratorHello, i see the issue now, do the following, go back to the original, delete the code you used to hide the form and add this to style.css
COPY CODE.form-wrapper { display: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
June 1, 2016 at 21:48 #124008hotloverspassionParticipantHi 🙂
No luck, sorry.
It has the same result as the image “after log in” I sent you in previous message, with the header picture smaller appearing right at the top of the page. But with this change I have lost capability to display the form to non logged in users and hide it to logged in users. The form itself is not the issue. It is the header image I want to hide under the same condition as the register form ( so it will be there for not logged in users together with the register form ,but it will be hidden for logged in users as the register form is )
Hope it makes sense 🙂
June 2, 2016 at 21:33 #124171hotloverspassionParticipantI’ve got an idea but just need CSS selector for the header picture…
June 2, 2016 at 21:36 #124172LauraModeratorHello, i believe we have 2 topics about this? Because i just answered the other one… Please stay at the other and lets close this one
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
June 2, 2016 at 23:58 #124212LauraModeratorHello, lets mesh them there as this one is from another person 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.