x

CSS changes in editor don't show in published website

Hi,

I have been working on a new Weebly website (www.pikmap.weebly.com) for a couple of days and finally managed to make my buttons round cornered ! Or so I thought... 

By adding the line "border-radius: 25px;" in the HTML/CSS Editor, I can see my beautiful rounded button in the Weebly Editor but when I publish my website, the buttons are squared !

Has anyone run into a similar issue and managed to fix it ?

Cheers,

Charlie

870 Views
Message 1 of 9
Report
1 Best Answer

Best Answer

There are sometimes class differences within the editor and the published website. Assuming that you're just making your site buttons rounded, try adding something like this:

.wsite-button .wsite-button-inner { border-radius: 25px }

View Best Answer >

821 Views
Message 10 of 9
Report
8 REPLIES 8
Square

Hi Charlie. I'm not much help when it comes to custom code, but I believe there's a few apps in the App Center with customized button options. Smiley Happy

837 Views
Message 6 of 9
Report

Hi Bernadette,

Thank you for your reply. All I need is the rounded corners option (which in theory is very easy to do). Also, the button in the Weebly form won't be changed if I use the customized app... which is the only button on my website so using the app would be useless.

Cheers,

Charlie

834 Views
Message 6 of 9
Report
Square

Gotcha. I'm not sure what would cause the code to work in the editor but not the live site (usually it's the opposite) but Adam might have some insight for you. He'll be in tomorrow morning and I'll forward this post to him. 

830 Views
Message 6 of 9
Report

Great ! Looking forward to reading Adam's insight on this issue
824 Views
Message 6 of 9
Report

Best Answer

There are sometimes class differences within the editor and the published website. Assuming that you're just making your site buttons rounded, try adding something like this:

.wsite-button .wsite-button-inner { border-radius: 25px }

822 Views
Message 10 of 9
Report

Nice one ! It worked Smiley Happy

Thank you very much @BJ 

819 Views
Message 10 of 9
Report

Wait what ... where can CSS be edited?

790 Views
Message 10 of 9
Report
Square

CSS can only be edited with the older/original editor at this time. 

788 Views
Message 10 of 9
Report
This thread has been archived and locked. Please start a new thread if you would like to continue the conversation.