- This topic has 20 replies, 2 voices, and was last updated 3 years, 7 months ago by
David.
-
AuthorPosts
-
September 22, 2018 at 5:27 am #683642
Feri
Hi there,
How to make Jetpack Subscription Form look like this? screenshot source: link blog
thank you
GP Premium 1.7.2September 22, 2018 at 6:08 am #683663David
StaffCustomer SupportHi there,
do you have a site set-up with the Jetpack Subscription form set up? Personally never use Jetpack but we can look and see what CSS is required.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 22, 2018 at 6:26 am #683676Feri
Yes, i have. Just update the detail.
My jetpack subsc at sidebar..
September 22, 2018 at 6:43 am #683690David
StaffCustomer SupportCan you edit your original topic and add it to the Site URL
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 22, 2018 at 6:45 am #683694Feri
Done. Typo, sorry.
September 22, 2018 at 6:55 am #683705David
StaffCustomer SupportTry this CSS:
#subscribe-email { margin-bottom: 0; } #subscribe-email input, #subscribe-submit input[type=submit] { width: 100% !important; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 22, 2018 at 7:20 am #683724Feri
thank you, david. it works! perfect.
after that, i want to place jetpack subscription form on the front page with style like this screenshot source: http://www.theblogmarket.co
need your help
September 22, 2018 at 7:26 am #683734David
StaffCustomer SupportI assume that Jetpack sub form has a shortcode?
If so use a Hook Element to add the shortcode to the before_footer hook and set the Display rules to Front Page. Here’s more info on that:https://docs.generatepress.com/article/hooks-element-overview/
To make it easier to style add the Short code like so:
<div class="grid-container jetpack-footer"> add shortcode here </div>
Make sure to check the Execute Shortcode in the Hook.
Once there i can provide the CSS.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 22, 2018 at 7:37 am #683743Feri
I assume that Jetpack sub form has a shortcode?
Yes.
[jetpack_subscription_form]
<div class="grid-container jetpack-footer"> [jetpack_subscription_form] </div>
by the way, my front page is using static pages + section.
set the Display rules to Front Page…Make sure to check the Execute Shortcode in the Hook.
ok, done. it is correct?
September 22, 2018 at 7:51 am #683827David
StaffCustomer SupportLooks good, so try this CSS:
.jetpack-footer { padding: 40px; box-sizing: border-box; } .jetpack-footer #subscribe-email input, .jetpack-footer #subscribe-submit input[type=submit] { width: 50% !important; } .jetpack-footer #subscribe-email input { float: left; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 22, 2018 at 8:01 am #683839Feri
sorry david, i remove the hook and change with Section + shortcode and adding the css but the result is not different with sidebar form
September 22, 2018 at 8:05 am #683845David
StaffCustomer SupportDid it work when in the Hook?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 22, 2018 at 8:16 am #683854Feri
the result: https://prnt.sc/kxfax3
September 22, 2018 at 8:31 am #683863David
StaffCustomer SupportOK so for use in the Section, add this:
#sub-section #subscribe-email input, #sub-section #subscribe-submit input[type=submit] { width: 50% !important; } #sub-section #subscribe-email input { float: left; }
And in that Sections Settings add
sub-section
to the Section ID fieldDocumentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/September 22, 2018 at 9:35 am #683892Feri
result https://prnt.sc/kxg238 the button is in the wrong position
-
AuthorPosts
- You must be logged in to reply to this topic.