jacklenox / susty

🌍 A tiny WordPress theme focused on being as sustainable as possible. https://sustywp.com
GNU General Public License v2.0
931 stars 105 forks source link

Spacing for post type and comments #12

Open amongthestones opened 5 years ago

amongthestones commented 5 years ago

I recently found Delivering WordPress in 7KB and really like the theme for its low bandwidth and its minimal look. But there are spaces on either side of post types and also the Leave a Comment link. Were these intentional? I was looking to delete them but I haven’t found the line (not much of a coder in spite of the GitHub account).

jacklenox commented 5 years ago

@amongthestones Thank you for reporting this. Can you give a bit more detail? I'm not sure I follow exactly what you mean. Could you maybe add a screenshot?

amongthestones commented 5 years ago

Here's a screenshot of what I mean. There are two spaces on either side of the post type (in this case, Links), and the leave a comment section. screenshot 2019-01-14 at 16 59 58

sgclark commented 5 years ago

I too recently adopted the Susty theme and have similar questions about the "Meta" details for posts. I can't seem to find the PHP file that contains these details. I too would like to make some edits and changes to these items. I also wanted to put the "Leave A Comment" link on a different line than the "Tags" and maybe move those "Posted" and "Tagged" meta data details up to the "Posted" and "Author" details at the top of the post. Anyway, really just curious where the file is that I can make these changes to.

My site is www.sgclark.com if you want to check it out.

Thanks!

jacklenox commented 5 years ago

Hi all, so sorry for not replying on this sooner. @amongthestones So yeah, this is a super weird design decision that I made. I don't really know why. :man_shrugging: I kind of wanted them to be slightly button-like, but on reflection it's a bit rubbish! The padding is added here:

https://github.com/jacklenox/susty/blob/7a43aa1a57d646362354178b2842fd6d5fc3c2eb/style.css#L930-L933

@sgclark Nice child theme! It looks as though you solved the issue yourself, but let me know if you have any other questions.

sgclark commented 5 years ago

Yes, I did eventually figure it out but what I did does get a little ‘moody’ on different sized devices. I’ll compare your code above to what I did to see if it behaves better (which I am sure it will).

Thanks, re: my site. I love how damn quick the base Susty code is when the site loads and even with the additional things I have on my site (all the images/galleries and the mobile nav treatment), it still flies!!

sgclark commented 5 years ago

Finally got around to looking at the "Meta Tags" code I'm using compared to what you noted above.

The weird thing I am seeing was that the font size of the links in the "meta tags" rendered at a smaller size than the 'plain' text in the 'meta tags'. I used the font-size: inherit css to normalize the links in my CSS to match the size of the plain text but I was wondering if there is some font size control in the master Susty CSS that was controlling that? I'm also seeing some extra spacing/padding before and after the .cat-links links.

Not a big deal but curious none the less.