TomSaunders
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Center gallery on a pageAh just saw the double entry you mentioned, perfect, cheers!
Forum: Themes and Templates
In reply to: [Hueman] Center gallery on a pageOne more thing, sorry!
Just noticed that the right side of the images appears to be cut off by a couple pixels, even though the image is appearing full size. Any ideas?
Forum: Themes and Templates
In reply to: [Hueman] Center gallery on a pageHad extra bracket in CSS which fixed the issue I caused! Your code fixed the original, thanks bdbrown!
Forum: Themes and Templates
In reply to: [Hueman] Center gallery on a pageWeird. I change that one part of my child CSS and now other styling properties change too – for example, links are now underlined, and the topbar menu is black not the original blue…
Forum: Themes and Templates
In reply to: [Hueman] Center gallery on a pageHmm, now the images appear to be upscaled. Should I adjust the width %?
Thanks as always bdbrown, really appreciate it.
Forum: Themes and Templates
In reply to: [Hueman] Hueman image scalingYeah actually I think I will just let hueman do what it wants (despite the wasted space) and configure the WP ones myself. The thing I was struggling to understand was, where do the hueman-generated images get used? But I looked at the hueman demo and saw that they are used for featured images, thumbnails on related stories etc.
I think I will use the featured image ones for blog posts (when I get round to actually starting it!), and I think I’ve figured out how to stop them from cropping badly and scaling.
make sure you upload the smallest size possible and that’s it’s compressed, either before you upload it or using a plugin that does it dynamically.
Yeah I use the Smush It plugin which is nice, and I normally get pretty small jpegs when exporting from Lightroom.
The other styling thing was a silly mistake, forgot abracket in styles.css which prevented half from being read haha.
Anyway, thanks again, you’re always a great help and I appreciate it alot! Cheers.
Forum: Themes and Templates
In reply to: [Hueman] Hueman image scalingAh ha!
I used firebug to play around, and yes your code was spot on. All I had to do was change it to 30.6% and put !important after it and the margin. I think thats nailed it. Thanks so much!
Do you have any ideas about my other questions? I really dont want to be generating extra images if I don’t need them. Is it safe to disable the thumbnail size part of the alx_setup function? Will anything bad happen?
Edit2: Just thought something had screwed up, but surprise it was my error!
Forum: Themes and Templates
In reply to: [Hueman] Hueman image scalingbdbrown, you have no idea how reassuring your presence is, thanks for helping! Bear with me, I have a couple of questions :O
So I made those changes, and yes the gallery looks nice on mobile now!
However no matter how much I change the width in your code above, the images all stay the same size (600×400 scaled to 323×216).
Any idea how I can get them to scale to exactly 300×200? Just where does that size come from anyway? Is it to do with the alx_setup() function containing:
add_image_size( 'thumb-standard', 320, 320, true );I would absolutely love a table that tells me what all of the sizes of thumbnail are used for, and how they interact with the WP-generated images too.
All this image stuff is really confusing. Do I need to use any of the settings in the Settings > Media section, or can hueman handle all the thumbnails and extra images I’ll need? For example, at the moment I’m using WP to generate 150×150 thumbs so I can see a preview of media in my media library, and a 600×400 medium image to be scaled for use as a gallery thumbnail.
If I untick those and configure the add_image_size to contain those values will they replace the WP generated ones? Or should I disable the ‘thumbnail size’ part of that function and let WP handle it?
Do any of the thumbnail sizez created by hueman connect with the ‘thumbnail, medium, large’ options you get when you insert images into a gallery?
God Im so confused… :S
Thanks so much for helping me out though!
Forum: Themes and Templates
In reply to: [Hueman] Hueman image scalingWhat a mess!
I’ve achieved exactly what I want…when viewing my gallery on my desktop computer. When I checked the gallery display on my smartphone it was an absolute shambles.
Heres what I’ve done:
WordPress > Settings > Media
– ticked thumbnails (150×150
– ticked medium (600×400)Style.css – Relevant sections:
.entry .gallery img { height: 200px; width: 300px; border: 2px solid black !important; } .col-3cm .main-inner { background-position: -80px 0; padding-left: 260px; } .col-3cm .s1 { width: 260px; margin-left: -260px; }So as stated before, looks great on desktop, terrible and compressed on mobile.
I know I probably need to use alx_setup() functions, specifically ‘// Thumbnail sizes’
Questions:
1. Can I use those, and untick all of the options under Settings > Media?
2. How do I edit them to achieve what I want in combination with CSS?
3. How can I get this to behave nicely with mobile?
bdbrown, you are my only hope! :O
Edit: Here is an example of a page that works as I want it to on desktop but looks crap on mobile.
Forum: Themes and Templates
In reply to: [Hueman] Hueman image scalingOK I’ve figured out how to achieve what I want.
All I had to do was enable the medium image size in settings > media, set it to 600×400, and then put the following in my child themes CSS:
.entry .gallery img { height: 200px; width: 300px; }When creating the gallery, I select the image, and select medium size. The 600×400 image is then scaled to 300×200 in the gallery.
One question:
What are the theme-generated thumbnails used for?
I know the largest is used for featured image slider or something like that, but what about the others?Forum: Themes and Templates
In reply to: [Hueman] Hueman image scalingMay have found a way to achieve this by using CSS and/or the thumbnails generated by hueman…Will post back soon if I manage it.
Forum: Themes and Templates
In reply to: [Hueman] Contextual child-page menu in sidebarAha! It was just simply a matter of unticking the pages in the Display Widget options on the widget.
I think I’m good from here. Thanks again bdbrown, this is the second time I’ve asked for help on here and both times you’ve provided everything I need in a way thats easy to understand. Appreciate it.
Forum: Themes and Templates
In reply to: [Hueman] Contextual child-page menu in sidebarOK cool, I’ve got the foundations there. You can see it here on this page for an example:
http://tomsaunders.co.nz/about/The ‘About’ and ‘Curriculum Vitae’ are good, but how do I get rid of the links below? I only want links to show up for child pages when on the parent. I dont want any other links.
Thanks so much for your help bdbrown!
Edit: Do I have to make a different custom menu widget for each parent page then? And only include the parent page on the menu? I could do this because Im using ‘Display Widgets’ which gives conditional/contextual widgets. But I have a feeling theres another way.
Forum: Themes and Templates
In reply to: [Hueman] Contextual child-page menu in sidebarEdit: Wait I understand now, I’ll have a go.
Forum: Themes and Templates
In reply to: [Hueman] Cant see CSS changes in child themeHi bdbrown!
I changed those tags, and suddenly my blockquote css works! Then I moved the code for the top bar background color before the code pertaining to the the top bar text and now the top bar is colored properly! (Although it doesnt reach right across the bar, only where the page links are – but I can probably figure that out).
It was also your code that I used for getting my child theme up and running, so thanks very much for everything you do here, you’re very helpful and I greatly appreciate your time!
So I guess it was just those leading delimiters then. I’ll go ahead and mark this as resolved, but no doubt you’ll see me in here again in the future after a 5 hour grind of trying to get something to work!
Regards,
Tom