Please Help – Need Child Theme with different CSS
-
Hi everyone. I’m not an expert at all and I would be very appreciative of some advice. I tried to find the answer online and from searching on wordpress.org. I am using a wordpress theme called spasalon.
It comes with a homepage template and a “Page Full Width” template.
The full width template is very plain and I want to add a repeating background to the css. Both the homepage template and the full width template share the main style.css, so if I add the background to the css, it shows up on the full width template like I want, but it also changes on the homepage and looks ugly.
So I opened the “Page Full Width” template, page-full.php and I can see that it is calling the header with get_header();
Next I opened the header.php file and I’m presented with the following code:
——-<head> <meta charset="<?php bloginfo( 'charset' ); ?>"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <?php if ( is_singular() && pings_open( get_queried_object() ) ) : ?> <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> <?php endif; ?> <?php wp_head(); ?> </head>——
viewing the files in ftp, I can see the style.css in the main directory and a folder “css”. Inside the css folder are additional stylesheets which the theme is using.
I can’t figure out how is leading to the style.css or how to direct it to a different css for the child theme…. I was assuming I would be able to copy the header information into the child theme and change the stylesheet link.
Any ideas? Thank you in advance.
The topic ‘Please Help – Need Child Theme with different CSS’ is closed to new replies.