USGC Grains.org – Full Instructions on How to Update Market Data
Go to “GIAF Upload” in WordPress, located in the left navigation, towards the bottom.
Go to “GIAF Upload” in WordPress, located in the left navigation, towards the bottom.
<h1 class="h1-alt text-white text-shadow uppercase">Alternate H1</h1> *** H1's are generally handled in page templates and not by content authors. If you need to use this alternate heading style within a piece of page content chances are the element you want to style really isn't a <h1> In that case please use any other heading tag which would be more appropriate like so: <h2 class="h1 h1-alt text-white text-shadow uppercase">Alternate h1 Style</h2> ***
Body copy.
I am text over a dark area.
<p class="text-white mg-banded-primary-darkest antialiased p-8"> I am text over a dark area. </p>Small Body/Blurb Copy.
<small> I am small text. </small>
Action button Secondary button Tertiary button Accent button Accent button
<a href="#" class="mg-button">Action button</a> <a href="#" class="mg-button mg-button--secondary">Secondary button</a> <a href="#" class="mg-button mg-button--tertiary">Tertiary button</a> <a href="#" class="mg-button mg-button--accent">Accent button</a> <a href="#" class="mg-button mg-button--accent-2">Accent button</a>
<a href="#" class="mg-button mg-button--large">Action button</a>
<a href="#" class="mg-button mg-button--larger">Action button</a>
<a href="#" class="tag">Corn</a>
<a href="#" class="plain-link">I am a plain link.</a>
We are plain links. We are plain links.
<p class="plain-links"> <a href="#">We are plain links.</a> <a href="#">We are plain links.</a> </p>
<p class="white-links mg-banded-primary-darkest antialiased p-8"> <a href="#">I am a link over a dark area.</a> </p>
This site makes heavy use of the Tailwind CSS Framework (v0.4.0). Use a combintion of those tailwind CSS classes to compose common elements like the ones below.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptatibus quia, nulla! Maiores et perferendis eaque, exercitationem praesentium. Read more »
Use one of the following mg-banded- classes for backgrounds.
When applying a darker background use text-white and antialiased as well (improves legibility).
<div class="mb-8 p-4 text-white antialiased mg-banded-primary"> I'm a dark backround </div>
Use mg-noise to add 2% noise for a subtle grainy texture
<div class="mb-8 p-4 mg-banded-secondary-lightest mg-noise"> I have texture. </div>
To use in content editor:
[mg-icon name="icon-barley"] [mg-icon name="icon-barley" size="medium"] [mg-icon name="icon-barley" size="larger"] [mg-icon name="icon-barley" size="largest"]
Some icons may not vertical align with the next line of text - in that case you can add a CSS class to add a negative left margin:
[mg-icon name="icon-barley" size="large" class="-ml-4"]
You can add any CSS classes - for example to add color - use any of the background 'mg-banded' classes from above but replace 'banded' with 'color' (you can add multiple classes just separate them with a space):
[mg-icon name="icon-barley" size="large" class="mg-color-accent-2 -ml-4"]
Find all available icons here.
<svg class="mg-icon"> <use href="#icon-news" xlink:href="#icon-news" /> </svg> <svg class="mg-icon--medium"> <use href="#icon-news" xlink:href="#icon-news" /> </svg> <svg class="mg-icon--large"> <use href="#icon-news" xlink:href="#icon-news" /> </svg> <svg class="mg-icon--larger"> <use href="#icon-news" xlink:href="#icon-news" /> </svg> <svg class="mg-icon--largest"> <use href="#icon-news" xlink:href="#icon-news" /> </svg>
This will be at the bottom of most pages with 2 or 4 boxes to cross link other relevant sections of the site.
To update the background imagery of these sections navigate to:
WP Dashboard > Page Options
On the home page this styling will be used for the latest news feed. On interior pages it will change to related articles