Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

Post formatting issues in Science Blog #536

Open
stephwright opened this issue Sep 3, 2016 · 9 comments
Open

Post formatting issues in Science Blog #536

stephwright opened this issue Sep 3, 2016 · 9 comments
Milestone

Comments

@stephwright
Copy link

Was reading a recent blog post in the Science Blog (https://science.mozilla.org/blog/2016-isbe-review) and having a lot of difficulty following the post as headers seemed to have varying sizes and varying formats. I went into Wordpress to see how our Guest Blogger had formatted her post and noticed that the way she formatted it in Wordpress looks very little like how it turns out in the blog. Is there anything that can be done to reconcile this? I know I've had trouble getting formatting right when I'm publishing posts on the blog because the Preview button doesn't work. Anything that can be done to make it easier to understand how a post will look before publishing would be greatly appreciated.

@gideonthomas
Copy link
Contributor

Apparently, I don't have permissions to the blog either. @stephwright would you be able to add @alanmoo as a user so that he can take a look at how some of the blog content is formatted?

@stephwright
Copy link
Author

I've added you both as admins

@gideonthomas
Copy link
Contributor

thanks @stephwright you're awesome! Would you also be able to confirm that the way we login to the blog is through the url: https://mozscienceblog.wpengine.com/wp-admin ?

cc @alanmoo

@stephwright
Copy link
Author

Yep! That should do it... if it doesn't work, let me know.

@hannahkane hannahkane added this to the Phase 2.1 milestone Sep 26, 2016
@hannahkane
Copy link

Estimated at 13 story points, largely due to unknowns about Wordpress

@alanmoo
Copy link
Contributor

alanmoo commented Sep 29, 2016

I've addressed this in the short term by pulling some of the styles from the WordPress editor (TinyMCE I think) so that font sizes are consistent and logical. Next up I think I'd like to tackle #554 so that when we make further changes to the blog styles it'll be easy to preview them.

@arush0311
Copy link
Contributor

arush0311 commented Mar 30, 2017

Hey! what about resetting everything inside blog posts and then use wordpress stylesheets? (using scoped css?)

@alanmoo
Copy link
Contributor

alanmoo commented Mar 30, 2017

The idea is that the styles should be aligned with what's on the science site, not the other way around. This issue centers around the fact that we're publishing on wordpress but pulling the content in via wordpress's REST API. Previewing a post doesn't show it on the science site though. The proper fix to this whole thing is a proper CMS for the science site, but that's a big undertaking. Anything else that's an easy win short of that is good, but using wordpress stylesheets would be moving backwards.

@arush0311
Copy link
Contributor

arush0311 commented Mar 31, 2017

Well there is always the concept of WordPress themes. We can extract the blog styles into a central location and have both WordPress and science website pull from it. (or have wordpress pull it from science website)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants