This topic has 13 replies, 2 voices, and was last updated 11 years by Anonymous.
-
Author
-
August 23, 2013 at 02:43 #1691AnonymousInactive
I was wondering if there is a code or shortcode to recreate the registration module on the home page. I would like to redesign my own home page, but would like to use the registration form on the front.
Thanks
August 23, 2013 at 13:46 #1722SQadminKeymasterHi,
Right now there is no shortcode for that but you could install http://wordpress.org/plugins/shortcode-exec-php and create a shortcode that executes this:COPY CODEget_template_part('page-parts/home-register-form');
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 23, 2013 at 16:35 #1733AnonymousInactiveGreat! Thanks for the help!
I’m trying to design something like this:
Is there a way I can replace the image for a video next to the registration form?
August 24, 2013 at 21:33 #1754AnonymousInactiveGreat! Thank you for the advice. It worked perfectly! My only issue right now is the registration form will only allow me to have it aligned to the left. It also won’t allow me to add anything next to it…
How can I add items next to it? Like a video?
August 25, 2013 at 09:38 #1763SQadminKeymasterHi,
You need to modify page-parts/home-register-form.php and after the form ends you need to add another column with your video(after line 128):Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 26, 2013 at 01:05 #1780AnonymousInactiveGreat! I’ll give it a shot. Will the site continue to be responsive?
Thanks
August 26, 2013 at 01:54 #1783AnonymousInactiveI tried it and it worked. The only issue I have run into is that embed is responsive but is old and works with flash. I attempted to replace the code with iframe. Only issue is that it was not responsive… Is there a way I can make iframe responsive?
August 26, 2013 at 02:06 #1785AnonymousInactiveFixed it! Just had to replace the width to=100% instead of px. When you use px, you ruin the responsiveness of the site.
Thanks again for your support. I appreciate your help.
August 26, 2013 at 02:32 #1786AnonymousInactiveI have one more question. Is there a quick way to add the border around the video? I found the footer code for the border, but can’t seem to make it flush with the bottom of the video.
Any ideas on a code I could use to wrap the video in the same border?
August 26, 2013 at 11:23 #1797SQadminKeymasterHi,
You can wrap that embed in a div with the style=”boder:3px solid #777″
something like this:Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 26, 2013 at 17:09 #1810AnonymousInactiveI gave it a shot, but it did not seem to work.
Am I doing something wrong?<div class=”seven columns” style=”boder:10px solid #777″>
<iframe> xxx</iframe>
<div class=”clearfix”></div>
</div>August 26, 2013 at 17:50 #1811SQadminKeymasterHi,It is border instead or “boder”.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 26, 2013 at 18:11 #1830AnonymousInactiveAh! Haha! Fixed it!
<div class=”seven columns”>
<div style=”border:10px solid #777″>
<iframe>XXX</iframe>
<div class=”clearfix”></div>
</div>The only issue I’ve run into now is the border is not flush with the bottom of the video. It wraps around perfectly, except for the bottom. Should I try a padding code?
August 27, 2013 at 01:59 #1864AnonymousInactiveFixed it again. Just ended up adding the border to the iframe instead of the div.
Thanks for your help! Resolved!
-
AuthorPosts
You must be logged in to reply to this topic.