How to change header & footer to full width? [closed]

There are many ways to achieve this. First of all, right now all your content (including the header and footer) are inside a .container with a width of 960px. You cannot get these div’s to be 100% in width when they are inside this container. So what you need to is to change your code … Read more

WordPress – site with 2 stylesheets and more…

Create WordPress template with name College & Corporate respectively. Then add some code in your header.php. Refer is_page_template(). With this method WordPress will identify which template you are using and will apply CSS related to it. You can use Default template for rest of the pages.

Is it possible to change the path of a css file that is registered through wp_enqueue_style()?

I wonder if you are looking for the style_loader_src filter? For example: add_filter( ‘style_loader_src’, function ( $src ){ // … your stuff … return $src; } ); Similarly there exists the script_loader_src filter. There’s also the base_url property of the global $wp_scripts and $wp_styles objects, but I think that’s only used for enqueued native styles … Read more

How to get child style.css to load last rather than second behind parent style.css?

If the dependency array contains the IDs of all the other stylesheets, then yours should load last. Try adding the other stylesheets to the array when you enqueue your stylesheet: wp_enqueue_style ( ‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array ( $parent_style, ‘bootstrap’, ‘bootstrap-touchspin’ ) );