Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Custom CSS to Button Block


bru

Question

Site URL: https://www.chickenandgrill.com.au

Hello! 

I would like to know if it is possible to add a custom CSS code to a Button Block.

I have this CSS code that I use with the Custom Code Block to add a button that will take you the GloriaFood Ordering app:

 

<!-- If you would like to customize the button, remove or change the "class" attribute inside the <span> tag -->

<span class="glf-button" data-glf-cuid="f6c86696-efff-4966-8a45-641d018fe960" data-glf-ruid="cec77a3b-e53e-457d-9243-8ab0f61200f4" style="padding:15px; font-size: 16px; border-radius:0px; color:#ffffff !important ; background-color:#c21011; position: absolute; left: 50%; transform: translateX(-50%); top: 0px;"> Order Now</span>

<script src="https://www.fbgcdn.com/embedder/js/ewm2.js" defer async ></script>

 

 

I would like the button on my home menu to do the same thing, but squarespace only allows me to put an url or a page on the button.

Is there any way I can make that button, and any other "button block" to act the same way as my custom button?

Thank you for your help!

Bruneta

Link to post
  • Answers 8
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Popular Posts

Site URL: https://www.chickenandgrill.com.au Hello!  I would like to know if it is possible to add a custom CSS code to a Button Block. I have this CSS code that I use with the Custom Cod

Please see the attached image.  Button number 1 is a Custom Code Block, when you click on it, it opens the GloriaFood Ordering App. I would like button number 2 to do the same thing. But bec

Thank you!

Posted Images

8 answers to this question

Recommended Posts

  • 0
1 hour ago, tuanphan said:

Which buttons on homepage?

Please see the attached image. 

Button number 1 is a Custom Code Block, when you click on it, it opens the GloriaFood Ordering App.

I would like button number 2 to do the same thing. But because it's a Button Block and not a Custom Code Block, it only allows me to link an URL. 

Is it possible to make button number 2 to do the same as button number 1?

Chicken   Grill.png

Link to post
  • 0
On 4/8/2020 at 3:54 PM, bru said:

Please see the attached image. 

Button number 1 is a Custom Code Block, when you click on it, it opens the GloriaFood Ordering App.

I would like button number 2 to do the same thing. But because it's a Button Block and not a Custom Code Block, it only allows me to link an URL. 

Is it possible to make button number 2 to do the same as button number 1?

 

ah got it. Have you solved yet?

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post
  • 0
On 4/11/2020 at 6:49 PM, tuanphan said:

ah got it. Have you solved yet?

Hi,

 

do you have any idea about how to solve this? Thank you so much!

 

Link to post
  • 0
9 minutes ago, bru said:

Hi,

 

do you have any idea about how to solve this? Thank you so much!

 

Not yet, tried some idea but no luck. You try post to this group.

I intend to check again in the next week.

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...