Jump to content

Custom Button Presentation in Code Block

Go to solution Solved by Beyondspace,

Recommended Posts

  • Solution
13 hours ago, JustGrace said:

Site URL: https://www.carmenroseportraiture.com/home

I'm trying to get the buttons in the code block to look like the buttons that I've already customized in the CSS editor of the site. I think I'm close to getting it to work but I think my code block night need to just be organized differently? 

Screen Shot 2020-12-15 at 12.53.35 PM.png

<div style="display: inline-block;" class="sqs-block button-block sqs-block-button"><div class="sqs-block-content">

<div class="sqs-block-button-container--center" data-animation-role="button" data-alignment="center" data-button-size="medium">
	<a href="" class="sqs-block-button-element--medium sqs-block-button-element" data-initialized="true">Learn more</a>
</div>
</div></div>

image.thumb.png.5054cee11ec6593c420936027a12c6bf.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

@JustGrace I see your site on mobile, the text "A letter form & under description" very close left of screen. You can add some padding to make it nicer.

/* A letter from carmen */
@media screen and (max-width:767px) {
div#block-e7b17d3460df60e55fe9 {
    margin-left: 10px;
    margin-right: 10px;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.