Delete right column from wordpress

Hi webmachine,

Ok thats good to know, the home bit is useful, didnt know that.

The bit I need to change in base.css is the bit below for now, but am back on it now got a weekend to do a bit of work so will have a look into this base.css file for some reason having no effect in the child theme, over the site.

.main {
overflow: hidden;
padding: 0px 0 10px !important;
}

Ah, coming back to it, I think I understand what your saying, so use home.main, is that what your thinking?

Shame though that I cant get the base.css file working, as there more things in there that I need to work on, such as the mobile nav that slides in from the left.

Hi Mittineague,

Brilliant, I got it working with both style sheets using the code below.

Thats started my day really well, thank you

function my_theme_enqueue_styles() {
$parent_style = 'allegiant';
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'allegiant-child',
    get_stylesheet_directory_uri() . '/core/css/base.css',
    array( $parent_style ),
    wp_get_theme()->get('Version')
);
}
add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );

Cheers

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.