Posts by johnernaut

8 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • United States
johnernaut says

well, the weird thing is that when I upload the image, it is making it 183×52 when it is suppose to be 183×91. this only happens when I upload the image at the size of 959×274, if I use a smaller image say around 522×149, then it works fine. I have checked and nowhere am I adding the thumbnail size of 183×52. I tried the css and looked for the divs but it didn’t work. I will keep playing with it. I am sure there is a solution.

Would you be able to post a link so we could take a look?

8 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • United States
johnernaut says

That’s probably because you have colliding divs. Try setting the image height and width through CSS as well to force the boundaries of the container. Let me know how it works out.

8 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • United States
johnernaut says

Just use different sizes in your functions.php file. Something like this:

add_image_size( 'featured_thumb', 950, 400, true ); add_image_size( 'cat_thumb', 200, 200, true );

Then to use them, just use this in the specified loops:

the_post_thumbnail('featured_thumb');
8 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • United States
johnernaut says

I’m guessing this is a tutorial template for submitting a tutorial to the marketplace? Maybe you’re not aware that the marketplace already offers a free tutorial template for users to download for submissions.

http://d2o0t5hpnwv4c1.cloudfront.net/generic_tutorial_template/tut.html.zip

8 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • United States
johnernaut says

I think I figured out what the issue was. I’m guessing you all were having those problems in IE? The theme uses a lot of HTML5 elements, and I had a typo in my js fix for IE which pertains to those elements. Although they are still some minor alignment issues, I think the main layout is now fixed. Instead of using wrappers I just aligned the elements themselves with the auto margin properties for flexibility. I guess I should go with the “if it isn’t broken, don’t fix it” approach.

Thanks for the help.

8 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • United States
johnernaut says

Wow! What in the world?! That’s some crazy element positioning… I had no idea it was doing this… Thanks for the SS.

EDIT : I tested this on my 21” iMac and couldn’t reproduce the problem in Chrome, Safari or Firefox… Any ideas?

8 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • United States
johnernaut says

Make some alignments. All of the website is not aligned and has no spacing.

Alrighty, thanks! :D Anything else?

8 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • United States
johnernaut says

Hi everyone,

I’m currently working on a theme design to transition into WordPress. As of now, it seems very ‘white-spacey’ to me. I’m not really sure what’s missing, but it feels like something IS missing. Any advice or suggestions would be appreciated. You can see an under-construction sample here:

http://www.johnejohnson.org/site

by
by
by
by
by
by