• Block: Image

    03/11/2018

    Welcome to image alignment! If you recognize this post, it is because these are blocks that have been converted from the classic Markup: Image Alignment post. The best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let’s get started. Be sure to try it in RTL mode. Left should stay left and right should stay right for both reading directions.

    On the topic of alignment, it should be noted that users can choose from the options of None, Left, Right, and Center. If the theme has added support for align wide, images can also be wide and full width. Be sure to test this page in RTL mode.

    In addition, they also get the options of the image dimensions 25%, 50%, 75%, 100% or a set width and height.

    Image Alignment 580x300

    The image above happens to be centered.

    Image Alignment 150x150

    The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is left aligned.

    As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished!

    And now for a massively large image. It also has no alignment.

    Image Alignment 1200x400

    The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.

    Image Alignment 300x200

    And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.

    In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right.

    And just when you thought we were done, we’re going to do them all over again with captions!

    Image Alignment 580x300
    Look at 580×300 getting some caption love.

    The image above happens to be centered. The caption also has a link in it, just to see if it does anything funky.

    Image Alignment 150x150
    Itty-bitty caption.

    The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is left aligned.

    As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished!

    And now for a massively large image. It also has no alignment.

    Image Alignment 1200x400
    Massive image comment for your eyeballs.

    The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.

    Image Alignment 300x200
    Feels good to be right all the time.

    And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.

    In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah… Just like that. It never felt so good to be right.

    Imagine that we would find a use for the extra wide image! This image has the wide width alignment:

    Image Alignment 1200x4002

    Can we go bigger? This image has the full width alignment:

    Image Alignment 1200x4002

    And that’s a wrap, yo! You survived the tumultuous waters of alignment. Image alignment achievement unlocked! One last thing: The last item in this post’s content is a thumbnail floated right. Make sure any elements after the content are clearing properly.

  • Block: Button

    03/11/2018

    Button blocks are not semantically buttons, but links inside a styled div. 

    If you do not add a link, a link tag without an anchor will be used.

    Left aligned

    Check to make sure that the text wraps correctly when the button has more than one line of text, and when it is extra long.

    A centered button with
    more than
    one line of text

    Buttons have three styles: 

    Rounded
    Outline
    Square

    If the theme has a custom color palette, test that background color and text color settings work correctly. 

    Read more about the color palettes in the handbook.

    Now lets test how buttons display together with large texts.

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio.

    Right aligned

    Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna. Praesent sit amet ligula id orci venenatis auctor. Phasellus porttitor, metus non tincidunt dapibus, orci pede pretium neque, sit amet adipiscing ipsum lectus et libero. Aenean bibendum. Curabitur mattis quam id urna.

    Left aligned

    Vivamus dui. Donec nonummy lacinia lorem. Cras risus arcu, sodales ac, ultrices ac, mollis quis, justo. Sed a libero. Quisque risus erat, posuere at, tristique non, lacinia quis, eros.

  • Block: Gallery

    03/11/2018

    Gallery blocks have two settings: the number of columns, and whether or not images should be cropped. The default number of columns is three, and the maximum number of columns is eight.

    Below is a three column gallery at full width, with cropped images.

    • canola
      Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.
    • Sunburst Over River
      Sunburst over the Clinch River, Southwest Virginia.
    • Boardwalk
      Boardwalk at Westport, WA
    • Bell on Wharf
      Bell on wharf in San Francisco
    • Huatulco Coastline
      Coastline in Huatulco, Oaxaca, Mexico
    (gallery caption) 3 column, full width, cropped, linked to attachment pages
    • Unicorn Wallpaper
    • Boat Barco Texture
      Boat BW PB Barco Texture Beautiful Fishing

    Some more text for taking up space.

    A two column gallery, aligned to the left, linked to media file.

    In the editor, the image captions can be edited directly by clicking on the text.

    If the number of images cannot be divided into the number of columns you have selected, the default is to have the last image(s) automatically stretch to the width of your gallery.

    A four column gallery with a wide width:

    • Huatulco Coastline
      Sunrise over the coast in Huatulco, Oaxaca, Mexico
    • canola
      Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.
    • dsc20050813_115856_52
    • dsc20050727_091048_222

    A five column gallery with normal images:

    • Horizontal Featured Image
    • Image Alignment 300x200
    • Image Alignment 150x150
    • Image Alignment 580x300
    • Horizontal Featured Image
    • Image Alignment 1200x4002
    • Unicorn Wallpaper

    This is the same gallery, but with cropped images.

    • Horizontal Featured Image
    • Image Alignment 300x200
    • Image Alignment 150x150
    • Image Alignment 580x300
    • Horizontal Featured Image
    • Image Alignment 1200x4002
    • Unicorn Wallpaper

    Six columns: does it work at all window sizes?

    • Boardwalk
      Boardwalk at Westport, WA
    • Golden Gate Bridge
      Golden Gate Bridge
    • Sydney Harbor Bridge
      Sydney Harbor Bridge
    • Bell on Wharf
      Bell on wharf in San Francisco
    • Rusty Rail
      Rusty rails with fishplate, Kojonup
    • Yachtsody in Blue
      Boats and reflections, Royal Perth Yacht Club
    • Antique Farm Machinery
      Antique farm machinery, Mount Barker Museum, Western Australia
    • Rain Ripples
      Raindrop ripples on a pond
    • Wind Farm
      Albany wind-farm against the sunset, Western Australia
    • canola
      Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.
    • Windmill
      Windmill shrouded in fog at a farm outside of Walker, Iowa
    • Brazil Beach
      Jericoacoara Ceara Brasil
    • Huatulco Coastline
      Sunrise over the coast in Huatulco, Oaxaca, Mexico

    Seven columns: how does this look on a narrow window?

    • It’s dangerous to go alone! Take this.
    • Unicorn Wallpaper
    • Boat Barco Texture
      Boat BW PB Barco Texture Beautiful Fishing
    • Huatulco Coastline
      Coastline in Huatulco, Oaxaca, Mexico
    • Brazil Beach
      Jericoacoara Ceara Brasil
    • Huatulco Coastline
      Sunrise over the coast in Huatulco, Oaxaca, Mexico
    • Big Sur
      Beach at Big Sur, CA
    • Windmill
      Windmill shrouded in fog at a farm outside of Walker, Iowa
    • Sea and Rocks
      Sea and rocks, Plimmerton, New Zealand
    • Rusty Rail
      Rusty rails with fishplate, Kojonup
    images linked to media file – do captions obscure links?

    Eight columns:

    • canola
      Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec mollis. Quisque convallis libero in sapien pharetra tincidunt. Aliquam elit ante, malesuada id, tempor eu, gravida id, odio. Maecenas suscipit, risus et eleifend imperdiet, nisi orci ullamcorper massa, et adipiscing orci velit quis magna.
    • Boardwalk
      Boardwalk at Westport, WA
    • Golden Gate Bridge
      Golden Gate Bridge
    • Antique Farm Machinery
      Antique farm machinery, Mount Barker Museum, Western Australia
    • Wind Farm
      Albany wind-farm against the sunset, Western Australia
    • Bell on Wharf
      Bell on wharf in San Francisco
    • Sydney Harbor Bridge
      Sydney Harbor Bridge
    • dsc20050813_115856_52
    • Rain Ripples
      Raindrop ripples on a pond
    • Unicorn Wallpaper
    • Boat Barco Texture
      Boat BW PB Barco Texture Beautiful Fishing
    • Yachtsody in Blue
      Boats and reflections, Royal Perth Yacht Club
    • Rusty Rail
      Rusty rails with fishplate, Kojonup
    • Sea and Rocks
      Sea and rocks, Plimmerton, New Zealand
    • Huatulco Coastline
      Coastline in Huatulco, Oaxaca, Mexico
    images are linked, do the links work?
1 2 3 4
Next Page