tkse
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Comments adds whitespace before .contentI’m obviously tired. Just needed to make a clear both tag at the end of .content.
Forum: Themes and Templates
In reply to: Comments adds whitespace before .contentThere’s nothing. Even tho I can’t link to it, I can show you in pictures.
1) #primary has a 25px margin-top. That is correct.
https://i.imgur.com/sWsCFku.png2) .content has no padding nor margin over it all, yet there’s a whitespace between where #primary and .content starts on the page. Can’t find HTML between them either.
https://i.imgur.com/1XGrbD5.pngEdit: I found the whitespace, from the #comments, but it was only visisble in the browsers inspect tool. Removing the margin-css doesn’t actually delete the whitespace.
Forum: Fixing WordPress
In reply to: Gallery feature not working properlyHmm, 3.5.2 actually solved it.
Forum: Fixing WordPress
In reply to: Gallery feature not working properly1) Will have to wait until late night for that one.
2) No, I was not.Forum: Themes and Templates
In reply to: Just a little jQuery script :(Update:
I found the problem. The get_template_directory_uri() in my functions.php got the twentytwelve-path. So instead of /mytheme/js/myjs.js, I got /twentytwelve/js/myjs.js.
Solved it by writing the path manually. As long as that doesn’t create any problems I have a solution for now.
Forum: Themes and Templates
In reply to: Just a little jQuery script :(HTML:
<div id="phone-dd"> <a href="#">Nav</a> </div> <div id="phone-menu"> <ul> <li><a href="#">Example</a></li> </ul> </div>
jQuery:
jQuery('#phone-dd').click(function() { jQuery('#phone-menu').toggle('slow', function() { // Animation complete. }); });
…nothing happens.
I’ve tried simply putting the jQuery in a script-tag, I’ve tried guides including wp_enqueue_script among others.
Forum: Themes and Templates
In reply to: Different styling for first postSolved.
Forum: Themes and Templates
In reply to: Different styling for first postAbsolutely brilliant! Yeah, I run my theme of twentytwelve, so post_class() was already included in the article-tag.
Anyways, thank you! Should be much easier to code as well now, as I don’t have to struggle with :nth-child on some of the other pages. ??
Forum: Themes and Templates
In reply to: Different styling for first postOh, sorry. I didn’t mean to say I would need a plugin for it, I meant I rather not use either a plugin nor :first-child.
I looked at the link, but couldn’t really see where to do something like that. Now, obviously my understanding of PHP isn’t that good. Did you have any specific code in mind?
Thanks for the answer btw. ??
Forum: Fixing WordPress
In reply to: Post only accessable via permalink?That would work. Unfortunately my post and page designs are different from each other?
What did you mean in the last part? My English vocabulary isn’t the best.
Forum: Installing WordPress
In reply to: WordPress on local networkFinally everything works! Thank you SO much! ??
Forum: Installing WordPress
In reply to: WordPress on local networkSure, I just hope it won’t fail on me like I showed in the picture before.
Forum: Installing WordPress
In reply to: WordPress on local networkTried deactivating all plugins through phpMyAdmin btw, didn’t work.
Forum: Installing WordPress
In reply to: WordPress on local networkGUID-column I guess, sorry, not too advanced on this as you can tell. Thanks for the plugin, but I still have to get into wp-admin to install it though.
Forum: Installing WordPress
In reply to: WordPress on local networkThe guid-table for posts still have my websites URL. Do you know exactly where to change this? I changed both “Home” and “siteurl” in wp_options.