EDIT: Added examples of the CSS.
Hi folks. I’ve been working on my first freelance web dev gig, which has mostly involved designing and coding static HTML/CSS pages, then porting them into the WordPress theme format. However, my client needs one page that displays all of their blog posts, so it needs to use the Loop. For context, I don’t have experience with PHP or WordPress themes outside of what I’ve learned during this gig.
I’ve managed to get all of the needed information onto the page in question via the Loop, but I’m running into issues when trying to style the page. Some of the styling is going through (e.g. text color, borders, background colors), but I can’t seem to affect any of the content pulled from the Loop. Posting a screenshot of my PHP/HTML below. I can also provide info on my CSS if needed, or any other info.
https://preview.redd.it/qo8hjfnvvc6d1.png?width=1182&format=png&auto=webp&s=f8e0a5c39b374083a1093b8692f4ad3b3d6fa3cd
https://preview.redd.it/qnzyqu6gid6d1.png?width=842&format=png&auto=webp&s=d9bb282ee86026ac4d241bd0e73c6e1026604adf
https://preview.redd.it/6trz7v5iid6d1.png?width=1034&format=png&auto=webp&s=1867a43a04d85debd7590394d6c8c8d34ee79a36
Could definitely be wrong, but my gut says that this issue has to do with the classes I’m styling. I’m fairly certain WordPress has a variety of built-in classes, but I haven’t been able to find them in the WP Developer Resources.
If anyone has thoughts on this, I’d appreciate it! Happy to provide more context/info if needed.
[ad_2]
It will help if you show some examples of your css, and where you are putting it.