Tagged: x
-
AuthorPosts
-
December 5, 2016 at 6:01 am #1281449
sandra.iParticipantHi
I would like to format the contact form in my footer to look like the attached layout.
I’ve trying to do it with CSS but I’m finding it difficult to target all the classes and divs.
Could you help me with this?
Thanks
December 5, 2016 at 6:18 am #1281474
ThaiModeratorHi There,
Please add the following CSS:
#x-subscribe-form-36291 > fieldset { display: inline-block; } #x-subscribe-form-36291 > fieldset:nth-child(3) { width: 48%; } #x-subscribe-form-36291 > fieldset:nth-child(3) { margin-right: 1%; } #x-subscribe-form-36291 > fieldset:nth-child(4) { width: 49%; margin-right: 0; } .x-subscribe-form input[type="text"], .x-subscribe-form input[type="first_name"], .x-subscribe-form input[type="email"] { width: 100%; padding-left: 5px; margin: 0; } #x-subscribe-form-36291 > fieldset:nth-child(5) { width: 68%; } #x-subscribe-form-36291 > fieldset:nth-child(6) { width: 25%; } form#x-subscribe-form-36291 { max-width: 100% !important; }Hope it helps 🙂
December 5, 2016 at 7:07 am #1281510
sandra.iParticipantBrilliant thanks 🙂
December 5, 2016 at 7:15 am #1281517
sandra.iParticipantHi
Just realised that this has changed the submit button formatting on the single post page.
I’ve got this code, but it’s not working:
single-post .form-submit .x-btn, .button, [type="submit"] { margin-top:20px; background-color: black; border-color: #d5cece; border-radius: 0em; border-width: 1px; color: #FFF; text-transform: uppercase; }December 5, 2016 at 7:21 am #1281525
ChristianModeratorYour
single-postshould be.single-postThanks.
December 5, 2016 at 7:30 am #1281537
sandra.iParticipantyes it does have the dot ‘.’ in the css code, but its still not working.
December 5, 2016 at 7:52 am #1281570
JoaoModeratorHi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks
Joao
December 5, 2016 at 7:59 am #1281576
sandra.iParticipantThis reply has been marked as private.December 5, 2016 at 9:12 am #1281641
ChristianModeratorTo make the CSS take effect in the footer only, append
.x-colophon.topto the previously given selectors like.x-colophon.top #x-subscribe-form-36291 > fieldsetThanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1281449 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
