-
Closed
-
Bit of a strange issue (for me anyway). I have lost the responsiveness when I use an Alora Child theme I have added. Everything else is OK as far as the formatting etc. is concerned so I believe it is picking the css up correctly.
9Sorry the images don’t seem to want to show they are Correct and Incorrect.
You will notice tin the correct image the columns are placed one underneath another in the smaller resolution. In the incorrect version the 3 columns stay side by side and just shrink. The only differentce between the two images in the theme. In the first I use the Alora Theme, in the second the child theme.
I only have two files in my Child theme the function.php and style.css
style.css
/*
Theme Name: Alora Child Theme
Description: This is a child theme for Alora
Author: Splatcat
Author URI: http://www.test.splatcat.net/
Template: alora
Version: 1.0
*/
function.php
<?php
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array('parent-style')
);
}function add_query_vars_filter( $vars ){
$vars[] = "pagezk";
$vars[] = "cat";
$vars[] = "url_120";
return $vars;
}
add_filter( 'query_vars', 'add_query_vars_filter' );I assume I have done something wrong but whatever it is only seems to affect the responsiveness, everything else seems to be working correctly. I would be grateful for any insight into how to resolve this.
Tank you for your time.
The topic Responsiveness lost with Alora Child Theme is closed to new replies