- This topic has 13 replies, 4 voices, and was last updated 4 years, 6 months ago by
Ying.
-
AuthorPosts
-
October 5, 2021 at 2:26 pm #1953965
crosby87
Hi there,
I’ve added the following code to my blog post:
<a data-formkit-toggle="594b26d945" href="https://dolgospenz.ck.page/594b26d945">Your link text</a>I wanted to style the button separately from the manual option, so I have added the following CSS:
.button, .button:visited { background: #012269; border-radius: 7px; }It works perfectly on desktop, but for some reason it does not work on mobile. It basically does not add anything. I don’t have coding knowledge, so the second code may also be wrong.
Could you please help?
October 5, 2021 at 2:42 pm #1953979Ying
StaffCustomer SupportHi there,
I’m sorry to ask, but where or which button shall we be looking at?
October 5, 2021 at 11:01 pm #1954202crosby87
Sorry for not specifying that.
Button on the first form under the link provided. It says ‘Button Text’. See ss: https://imgur.com/a/MOaxLAr
October 5, 2021 at 11:28 pm #1954219Elvin
StaffCustomer SupportHi there,
I’ve checked the page you’ve linked and I didn’t see this element in it similar to the photo you’ve shared.
Here’s what I see on my end – https://share.getcloudapp.com/P8u8ZxGN
Can you confirm/verify if the link is the correct one? Let us know. 😀
October 6, 2021 at 3:36 am #1954417crosby87
I provided the password to it earlier in private. See it again.
October 6, 2021 at 5:10 am #1954523David
StaffCustomer SupportHi there,
where did you add the HTML ie.
<a data-formkit-toggle="594b26d945" href="https://dolgospenz.ck.page/594b26d945">Your link text</a>Like Ying and Elvin i searched the sites source code for that element and its not found.
October 6, 2021 at 6:18 am #1954605crosby87
Hi David,
Sorry, I see I changed the ‘text’ part in the code. Probably you search CTRL+F for the entire code, and that’s why you did not see it. Apologies!
Here’s the code:
<a data-formkit-toggle="594b26d945" href="https://dolgospenz.ck.page/594b26d945" class="button" span="">Button Text</a>This is a code from ConvertKit (my email provider system). It is a button which I would like to style as I noted in my original ticket.
Thanks for your help!
October 6, 2021 at 6:51 am #1954640David
StaffCustomer SupportI didn’t search for the entire element. I looked for:
data-formkit-toggleand that doesn’t return any results. So we can’t see the HTML you added to the page.How was it added ? Is it in the page editor or using a hook ? Let me know.
October 6, 2021 at 7:59 am #1954889crosby87
Hi David,
That’s strange.
I simply added the code using the ‘Custom HTML’ block into normal blog post.
Even when I log out from the admin account, and check it in Incognito, I can see the source code. See it here: https://imgur.com/a/0WKELzP
Did you enter the PASSWORD when visiting the site mentioned in private?
October 6, 2021 at 10:32 am #1955041crosby87
Made some further changes on the back end. Now you should really be able to see it, please also see previous mail (including info provided in private).
October 6, 2021 at 10:44 am #1955059Ying
StaffCustomer SupportHi there,
I still don’t see the button. This is what I see:
https://www.screencast.com/t/y2LaTSZKLdCan you make sure cache is all flushed?
October 6, 2021 at 10:57 am #1955072crosby87
Ying,
You are not entering the password on the site.
I provided it in the private box below.
Let me know.
October 6, 2021 at 11:05 am #1955075crosby87
I shared the link in the private box below, with the following link: https://imgur.com/a/XqcoLN9 (Shows where you need to enter the password provided).
October 6, 2021 at 11:29 am #1955099Ying
StaffCustomer SupportAh sorry, I missed the password part, can’t read your language.
So all the WP buttons are using the
buttonclass, you’ll need to use a more specific class for this button, eg.custom-button.The HTML will become:
<a data-formkit-toggle="594b26d945" href="https://dolgospenz.ck.page/594b26d945" class="custom-button" span="">Button Text</a>And the CSS will become:
.custom-button, .custom-button:visited { background: #012269; border-radius: 7px; }Let me know 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.