- This topic has 25 replies, 4 voices, and was last updated 11 years, 3 months ago by
Tom.
-
AuthorPosts
-
January 7, 2015 at 3:12 am #62499
eddie
Thanks for checking.
http://atgrass.co.uk/fiction/
As you see, no widgets but the footer bar remains.January 7, 2015 at 10:47 am #62587Tom
Lead DeveloperLead DeveloperAh – wasn’t aware you wanted that area gone as well.
Use this CSS instead:
.blog .site-footer { display: none; }January 7, 2015 at 11:08 am #62591eddie
Thanks very much, Tom. I’m sure this will work; but so far I’ve not been able to execute changes through my GP child theme. I say this because I have just tried to reduce the space between my post title and text (entry content) by placing some code into it which I had already checked with Firebug:
p {
margin-top: -1.5em;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
border: 0 none;
font-family: inherit;
font-size: 100%;
font-style: inherit;
font-weight: inherit;
margin: 0;
outline: 0 none;
padding: 0;
vertical-align: baseline;
word-wrap: break-word;
}
*::-moz-placeholder {
color: #666666;
opacity: 0.7;
}I learned that the style sheet doesn’t seem to like the px suffix when changing values and got the changes to take effect only after using em. The real problem, though, is that the WordPress editor is not recognising the child theme. It accepts the data but reverts to the parent theme as soon as the input is recorded. Does it matter that I am using a Mullti-User version of WordPress?
I’m thinking I need to tell the child theme to import the parent theme data before it will activate.
Much head scratching this end.January 7, 2015 at 1:21 pm #62631Tom
Lead DeveloperLead DeveloperYou definitely don’t need to import the parent CSS – doing so will cause more issues.
To reduce the space between your title and content, you need this CSS:
.page-content, .entry-content, .entry-summary { margin-top: 2em; }You can replace 2em with px if you like – it should work fine 🙂
January 8, 2015 at 6:18 am #62821eddie
Nice.
Am I to assume this should be inserted into the parent stylesheet (frowmed upon by most accounts), because it sure ain’t working in the child; and can I do the same with the content on the Home Page?Many thanks
January 8, 2015 at 10:09 am #62842Tom
Lead DeveloperLead DeveloperNothing should ever be added to the core GP files.
It should work perfectly in a child theme, but maybe it’s set up wrong?
Try a plugin like this: https://wordpress.org/plugins/simple-css/
January 8, 2015 at 11:33 am #62881eddie
Thanks Tom.
I was using the GP child plugin you recommend in other posts. I merely uploaded and installed it the plugins panel.
This Custom CSS plugin ought to shift things along, after I take one more look at the child theme.
I haven’t got ’round to leaving my review yet but the support is an easy 5 stars.January 8, 2015 at 11:38 am #62884Tom
Lead DeveloperLead DeveloperVery weird – that child theme should definitely work.
Let me know how it goes 🙂
January 8, 2015 at 2:21 pm #62990eddie
Tom
Tried Custom CSS and got this –
This plugin has been deactivated because your changes resulted in a fatal error.
Parse error: syntax error, unexpected ‘.’ in /var/www/web/wp-content/plugins/simple-custom-css/simple-custom-css.php on line 44
I have just installed the Child Themify plugin and everything fired up. There may be a bit of pilot error going on here, because although I navigated to the Network Dashboard to use the CSS editor, I also checked the Themes Appearance in the User Admin and saw that the GP Child wasn’t activated. I also seem to remember installing your plugin via my ftp client, which was probably the reason it didn’t present for activation in the User admin panel.
It was worth persevering with, if only to prove that there are no mysteries, just fatigue and bad code.
Big thanks.January 8, 2015 at 2:49 pm #62991eddie
Tom
Just reverted to the GP Child theme, installed through the correct channels, and it
works like a charm.January 8, 2015 at 4:39 pm #63009Tom
Lead DeveloperLead DeveloperExcellent! Glad you figured it out 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.