martingolan
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Colinear] Menu items colour and widthI thought Coraline was a “retired” theme. I used it for my site (https://martingolan.com/blog/), I love it, but I can no longer set up a child theme and was told it was risky to keep using it. My understanding is that if you still use Coraline you are in danger of your site being irreparably broken in a future WP update.
Don’t mean to hijack this discussion, but was surprised to see someone using Coraline. I’ve been wanting to switch to another and would love to not have to.- This reply was modified 5 years, 3 months ago by martingolan. Reason: fixed typo in irreparably
Forum: Plugins
In reply to: [YoImages] plug-in update broke my siteWorks fine now, thanks.
Forum: Plugins
In reply to: [YoImages] plug-in update broke my siteI just asked my webhost company and they told me it’s Php version 5.4.
Thanks for your attention to this.
Forum: Fixing WordPress
In reply to: child theme not workingI figured it out.
Thanks anyway.Forum: Fixing WordPress
In reply to: child theme not workingI discovered I had a typo in the name of the functions file. And when I fix it to functions.php the site crashes and it won’t load at all.
One thing: I sure learned a lot about how WordPress works from all the tinkering I’ve been doing. But I’m still stuck: changes I make in the child theme css don’t show up on the site (except the footer, for which I created a footer.php).
Forum: Fixing WordPress
In reply to: child theme not workingHere area the relevant files in my child theme.
/*
Theme Name: Coraline-child
Description: Child theme for Coraline
Author: Martin Golan
Template: coraline(optional values you can add: Theme URI, Author URI, Version)
*/
@import url(“../coraline/style.css”);*/
/* =Theme customization starts here
——————————————————- */<! — took this out of Coraline css:
#colophon .generator-link {
background: url(“images/wordpress.png”) no-repeat right center;
display: inline-block;
margin: 0 3px 0 0;
padding-right: 20px; — >/* =Header
———————————————– */#header {
margin: 0 0 28px;
}
#masthead {
padding: 28px 0 0 0;
}
#site-title {
font-family: “Lucida Sans Unicode”, Arial, Helvetica, “Nimbus Sans L”, sans-serif;
font-size: 12px;
font-style: italic;
letter-spacing: -0.03em;
line-height: 42px;
text-align: center;
}
#site-title a {
color: #000;
font-weight: bold;
text-decoration: none;
}
#site-description {
color: #000;
font-family: “Helvetica Neue,” Arial, Helvetica, “Nimbus Sans L”, sans-serif;
font-size: 128px;
margin: 0 0 9px 0;
text-align: center;
}
#branding img {
border: 1px solid #000;
border-width: 3px 0 1px;
max-width: 100%;
height: auto;
}body {
background-color:black;
}
.marketing h2{
color:red;
}and here is the child’s function.php file. It may be in an odd form since it’s been changed about a thousand times, looking for that magic bullet:
<?php)
{
wp_enqueue_style( ‘main_css’, get_stylesheet_uri() );}
(?>)
Problem solved, one of those “I can’t believe I did this” situations.
(In a word, I hit “toggle toolbar,” which I never noticed before. That fixed it).