Jump to content

Reference Template CSS in Code Block

Recommended Posts

Site URL: http://prideatthedragon.com/newsletter

Is there a way to reference the existing template's CSS sheet in a code block? If you check my link there, I have added a Mailchimp campaign archive via code block, but the style is super plain. There are other blocks I would like to add to the site that I also need to mimic the site's style without me having to go through and customize each element in the block. How can this be done?

For context: I am not skilled in coding. I understand basic concepts and can usually follow syntax, but I don't know enough to write or customize beyond changing a font/color.

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 month later...
On 4/23/2020 at 4:13 AM, AL7GW said:

Hello Tuanphan. 

I have a similar problem that TatianaN, this is the webpage  https://www.ararauna.com.ve/favoritos 

I would like to put links inside some kind of round boxes with white background and black small borders. Whenever you put the click on top of the link the background color could change into any color I want. 

I've tried several things but it just doesn't work. 

 

Thank you. 

Add to Home > Design > Custom CSS

.campaign {
    border: 1px solid black;
    margin-bottom: 5px;
    background: white;
    padding: 5px;
    border-radius: 5px;
}

 

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.