OrangeWave
07-17-2018
07:54 AM
Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Editing Accordion elements via CSS
I'm trying to add a margin in between the items in the Weebly Accordion. I found the CSS code using the inspector in Safari and then added this code to the CSS of the theme:
.accordion__item {
margin-bottom: 5px !important;
}
Unforntunately, this is not working. When I add a 5px margin to the code in the Safari web inspector it does create margin between the items so I'm not sure why this doesn't work when adding the code in Weebly.
Any help would be greatly appreciated!
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
2 REPLIES 2
OrangeWave
07-17-2018
07:56 AM
Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Well, nevermind. It turns out that it just doesn't show up correctly in the preview window while editing the code. If I save the change and look at it in the main editor it works perfectly. Solved!
Adam7

07-17-2018
02:23 PM
Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Thanks for the update, @OrangeWave!
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report