Forum Replies Created
-
AuthorPosts
-
LiziParticipant
Thank you for your help, please can you remove the url to the site we have been chatting about
LiziParticipantHi can you explain further? What do I need to do?
LiziParticipantFor example, I added media query styling like this:
@media screen and (max-width: 978px) {and added it to style.css in the child theme folder.
All these responsive styles have stopped rendering.
They worked fine until I updated the theme to 3.2.
Please can you advise?
LiziParticipantHi there
I don’t want to post it to a public forum.
Could you just let me know how to center the logo on the parent theme pro evolution?
Many thanks
LiziLiziParticipantHi there, many thanks
It might be easier if I ask you how do I center the logo? The template currently has it placed to the left.
Many thanks
LiziLiziParticipantThanks very mush for the information.
How do I ask the theme to now use the child responsive.css?
Also, my child style.css is being over ruled by the parent style.css, how can I fix this?
For example:
Child style.css has centered image
Parent style.css has position left image
When you view the site from the front end you see the image is positioned to the left and it should be centered.Hope you can help?
LiziParticipantMore info:
Child css has centered image
Parent css has position left imageThe image is positioned to the left
Also I can not get my child responsive.css to work – this is coming in from the parent folder.
Very confusing!
LiziParticipantHi there, thanks for your quick reply. I’ve amended my functions.php file as suggested and uploaded the new theme version.
I found out why I was getting the errors – I had renamed the parent style sheet as the theme was using both the parent and child css files. Of course then it came up to say there was an error with the parent css file and that’s what made the site revert to the default theme.
The problem now of course is how to turn off the parent css?
Hope you can help?
LiziLiziParticipantI wonder if I have created the child theme incorrectly, this is what I have in my child theme’s function file:
<?php
/**
* Child Theme functions and definitions
*
*//**
* Loading Parent theme stylesheet
*
*/
add_action( ‘wp_enqueue_scripts’, ‘catchevolution_child_enqueue_styles’ );
function catchevolution_child_enqueue_styles() {
wp_enqueue_style( ‘catchevolution-parent-style’, get_template_directory_uri() . ‘/style.css’ );wp_enqueue_style(‘catchevolution-parent-responsive’,get_template_directory_uri() . ‘/css/responsive.css’);
}
?>LiziParticipantUpdate to this:
So I now have two child themes in wp control panel theme area
LiziParticipantMany thanks.
I’ve created a child theme so that I can give this a go. I used the child theme template you have created. How do I add the responsive css to the functions file? I can only get the style.css to work.
Lizi -
AuthorPosts