Styling WordPress Post Content

When the data is used in Gatsby by WordPress it will pull in the string variable called. content and that will need to be styled to be able to see the effects of when things are changed in the WordPress block editor.

Having a sample page to place several types of blocks to see how they will be styled inside the static webpage. Many issues can arise from using this content. Since WordPress has many blocks available if someone tries to use a block that hasn’t been properly styled then they will run into display issues.

Images Block

Styling the WordPress block images. WordPress will place classes on them when they are consumed by Gatsby

image with content block

Videos Block

Several types that can be embed into WordPress

Headings

Columns Block

Code Block

Paragraph Block

Button Block

Can be used link to external resources, just needs to be styled properly so that when someone uses it issues don’t arise.

Recent Posts