@jp_grennier: First, you shouldn’t edit any core theme files such as functions.php, style.css and so on. As all your edit will be reverted back when you update your theme to latest version. So, if you want to edit any core theme file then you have to build child theme and work on it there.
You have changed the structure so it will be difficult the restore the css. As the divs has been moved.
To build child theme you can just create folder in your themes directory and name it like catch-everest-child or anything as per your wish. Then first you need to create style.css
file and then add the code like this https://gist.github.com/catchthemes/7483260/raw/0d66c5a1c43d188e1e548500c976b3f1bf28cfed/style.css
And then create functions.php
file where you need to add code to remove the default slider and replace it with your new slider code. Here is the sample code that you need to add in your functions.php
file
<?php
// Removing the Default Slider
function unhook_catcheverest_functions() {
remove_action( 'catcheverest_before_main', 'catcheverest_slider_display', 10 );
}
add_action( 'init', 'unhook_catcheverest_functions' );
// Adding New Slider Code
function catcheverest_child_slider() {
//Add in your code in betwwen this bracket
echo '<div id="main-slider" class="container">New Slider Code</div>';
}
add_action( 'catcheverest_before_main', 'catcheverest_child_slider', 10 );