Forum Replies Created
-
AuthorPosts
-
dazzathedrummerParticipant
Hi,
Sorry for the late reply.
The update has fixed the YouTube blocks but now my Facebook feed block doesn’t work – is this a similar issue?thanks
Darren
dazzathedrummerParticipantHi,
Just a general question (not specific to the actual website).
I just want to make a custom page template in the child theme.
I have copied ‘page.php’ to the child theme but I can’t find anywhere to select a different page template in the WP ‘Add new’ page editor.February 9, 2020 at 3:06 am in reply to: Trying to remove the page title box from the slider… #235508dazzathedrummerParticipantI figured it out – I had a duplicate child theme folder with a slightly different name.
I’ve been trying to update the css of an inactive theme!!
😀August 24, 2019 at 7:22 am in reply to: How to get the slider to appear below the header image? #180326dazzathedrummerParticipantignore that – it now seems to be working!
August 24, 2019 at 6:45 am in reply to: How to get the slider to appear below the header image? #180325dazzathedrummerParticipantHi,
I’ve set up my child theme but I can’t seem to get it pick up the CSS from the child style.css.
This is what I’ve got in my child functions.php…
<?php add_action( 'wp_enqueue_scripts', function() { wp_enqueue_style( 'hashone-parent-style', get_template_directory_uri() . '/style.css' ); });
I’ve added the following to the child style.css (to change the news ticker title to blue just as a test)…
.news-ticker-label { border-bottom: 1px solid #fff; border-right: none; color: #2196f3 !important; display: inline-block; float: left; font-size: 22px; margin-top: 0; margin-bottom: 10px; max-width: 100%; padding: 0 0 5px; text-align: left; width: auto; }
But when I load the page and inspect the element, the css is coming from the parent css.
How do I fix this? …I did this a few years back and it seemed to work without any problems, that was before enqueing was a thing.
August 18, 2019 at 4:06 am in reply to: How to get the slider to appear below the header image? #179801dazzathedrummerParticipantThanks for the reply.
Yes, I was thinking of setting up a child theme and then editing a page – I’ll do that and come back to you if I get stuck.
-
AuthorPosts