How can I fix my website layout after a faulty code insertion?

I was trying to change the colour of my footer so pasted the code below into my theme and I must have mucked something up because it’s changed the whole layout of the website! How do I get it back to normal please?!

1 Like

Hello @Sarahb4 ,

Please remove that code from your CSS file and kindly share the website URL here so I can write a fresh CSS for your store.

Thanks

@Sarahb4

Kindly remove that Code. which are you added.

https://www.perfectlyimperfectceramics.co.nz/ it’s currently password protected, the password Perfect

Thank you for sharing the details.

I think something is wrong with the website. Elements are not well aligned. However, if you want to change the footer color you can use below CSS code :

#shopify-section-footer {
  background: black;
}

Output :

I must have deleted something in the code that I shouldn’t have. I have this error message

@Sarahb4

Add ‘}’ , to remove the error.

1 Like

Don’t you have the backup code?

I don’t know, I’m not experienced in this!

Do you have a web developer? He can do it quickly. Consult the web developer for a quick resolution.

1 Like

Yeah I got Shopify expert to fix it, it was probably so easy but when you don’t know code it’s very hard to understand what you’ve done or how to fix it!