Blog: R6D73: #100DaysOfCode (More Posts)
Welcome to a brand new working week. 🙂
My 2 main jobs today were updating my Photography site, and implementing some behind the scenes changes to the SASS code for the blog
Photography
I put my latest update live today. I spent a lot of time over the weekend preparing the pages so the content for the 75-300 section can be expanded. This means that gone is the “First Batch” category that was there before to be replaced with new groupings of categories.
http://photography.jonniegrieve.co.uk/canon_75_300/main.html
The groupings are:
- Latest
- Pets
- Wildlife
- Weather
- Nature/Outdoors
At the time of writing, I left it so you can see not all groupings have content yet. This will be added in the coming weeks. I had to spend a lot of time putting the infrastructure in place to do it so while most of the next round of content is available to be linked to I thought I’d hold it back for a future update. I’m looking forward to seeing this grow in the year to come.
Over on the Photographic Adventures link I’ve added some more “Winter Strolls” photos. I have a lot of photos in this range to sort through to come. How I’m doing this is I’ll be sharing the very best of this range online, putting them on my server, to begin with before migrating them to AWS S3.
And finally, on 18_55mm section, there are a few more photos scattered in variables categories that I’ve never before shared.
Updating the Blog styling
Next, I turned my attention to making some needed updates to the blog styling. Noticeable changes include the primary background styling for the header and the footer have been changed to match that of the portfolio and WordPress subdomain styling. And I fixed some issues with the selectors, only picking up ID selectors for individual blogs.
For example, it’s much better to use class selectors for the Search, HTML and Recent Post widgets rather than using ID selectors like #recent-posts-8 because then you have to keep updating the group of selectors every time you add a new widget. However, WordPress always supplies the same class; widget_recent_entries when outputting widgets to the browser.
So to fix other widgets you’d use should use the class widget_search instead of ID’s like search-4 or search-3.
For Custom HTML Widget areas you would use custom_html-3 – on jgdm_blog custom_html-2 on blog subdomain.
And so on. This will make the styling easier to maintain in the future.
More generally I rejigged the colour variable naming convention in my colour partial to make the styling easier to change.


