larsjorgenbr
Forum Replies Created
-
Forum: Themes and Templates
In reply to: MH Newsdesk liteDidn’t work to edit the style.css though, I still have the same problem and I rather not use more plugins than I need..
I’ll probably make a child theme. Do you think this will work then?
Forum: Themes and Templates
In reply to: MH Newsdesk liteI tried it, but it didn’t work. Anywhere in particular in the stylesheet I should put it?
Great theme, btw!
Great, thanks!
Do you have another add-on or something for removing “posted by”, dates etc?
Thanks for the reply!
I’d love that add-on, where can I find it?
Forum: Themes and Templates
In reply to: Twenty Fourteen Child theme not workingWeird.. Oh well, it works now so all is good. Thanks for the help! ??
Forum: Themes and Templates
In reply to: Twenty Fourteen Child theme not workingHehe! What exactly did you do? Didn’t you just remove some of the lines in the stylesheet?
Forum: Themes and Templates
In reply to: Twenty Fourteen Child theme not workingHmm I think there’s a difference, because this worked. ??
Forum: Themes and Templates
In reply to: Twenty Fourteen Child theme not workingSo the two pieces of code I posted earlier seems correct?
Maybe I should just go with the plugin or something, I just want to change the colors and center the page.
Forum: Themes and Templates
In reply to: Twenty Fourteen Child theme not workingNp, been busy anyway ??
No, I’m now able to log in. I guess it took some time for it to take effect when I deleted the child theme folder with ftp.
Forum: Themes and Templates
In reply to: Twenty Fourteen Child theme not workingAnyone else? ??
Forum: Themes and Templates
In reply to: Twenty Fourteen Child theme not workingOk, now my stylesheet looks like this:
/* Theme Name: Twenty Fourteen Child Theme URI: https://www.trimforeldre.net Description: twenty fourteen child theme Author: Trim For Eldre Author URI: https://trimforeldre.net/ Template: twentyfourteen Version: 1.3 */
And my functions.php like this:
<?php add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); function theme_enqueue_styles() { wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); }
I activated the child and now my site is caught in a loop that shuts me out from the WP panel. When I try to go to the WP panel I get the message “nothing found”. I tried deleting the two files via ftp, but that didn’t do anything (I did that hoping the redirection loop would stop and let me back into the WP panel).
Forum: Themes and Templates
In reply to: Twenty Fourteen Child theme not workingI’m still having problems here. Any suggestions?
Forum: Themes and Templates
In reply to: Twenty Fourteen Child theme not workingYes, I know it’s like using a different theme, but does this mean that I must copy everything from the parent style.css and paste it into the child style.css? What exactly should the child stylesheet contain? Been reading pages and pages about it now and I just can’t seem to get what I’m doing wrong. Weird, considering I’m using child themes on other sites.
And what *exactly* should I enter into the functions.php when I’m hardly changing anything at all?
Seems like the child isn’t using the stylesheet at all. I removed it from the folder and it looks exactly the same when I reload the site. Just talking about the design, everything else seems to work.
I just want the thing to look like the main theme so that I can center the page and change the background color, that’s all.
Read this somewhere else on here just now: “get_stylesheet_uri() instead of get_template_directory_uri()” That’s in the functions.php, right? But what else should the functions.php contain?
Forum: Themes and Templates
In reply to: Twenty Fourteen Child theme not workingI also tried using the same stylesheet as the one in the parent theme, only editing the part on top (in my opening post) but this didn’t change anything.
That is the problem, redoing the settings in the child theme. I read somewhere that I only need the stylesheet, but on another site I run I’m also using functions.php and since you mention it I guess I should have both files in my folder. But what should the files look like?
Forum: Themes and Templates
In reply to: Twenty Fourteen Child theme not workingWhat should I do instead?
My site with child activated: https://trimforeldre.net/
It looks nothing like the site when the main theme is activated.