Clover [Genesis] - Code Tweaks

This page will be updated over time with small tweaks/customizations that you can make with the Clover theme.

Homepage

Parallax background image in Front Page 1

  1. First make sure that you have a background image set for Front Page 1.
  2. Click here and copy the code.
  3. Go to Appearance > Customize > Additional CSS and paste the code in the box.

Increase height of the background image in Front Page 1

  1. First make sure that you have a background image set for Front Page 1.
  2. Click here and copy the code.
  3. Go to Appearance > Customize > Additional CSS and paste the code in the box. You can increase the 100px value to whatever height you'd like. Leave the second value (0) in place.

Vertical image carousel

  1. Go to Appearance > Widgets. Open the widget area where your 17th Ave - Post Carousel widget is located (likely Front Page 1). Set the image size to featured-long.
  2. Click here and copy the code.
  3. Go to Appearance > Customize > Additional CSS and paste the code in the box.
  4. If you'd like the slider to display a specific height, i.e. 700px, you can replace height: 100% with height: 700px (or your desired value).

Increase the height of the Footer CTA area

  1. Click here and copy the code.
  2. Go to Appearance > Customize > Additional CSS and paste the code in the box.
  3. You can change the 700px values to whatever height you'd like (note: both values should be the same).

Add a fourth Featured Page widget

By default, the Flexible Widgets in Clover will arrange the Featured Page widgets into two or three columns, depending on how many widgets you have inside any given widget area. If you'd like to include four Featured Page widgets instead (in four columns), here's what to do:

  1. Click here and copy the code.
  2. Go to Appearance > Customize > Additional CSS and paste the code in the box. (Note: If your Featured Page widgets are not inside Front Page 2, you'll need to replace clover-front-page-2 [all six instances in the code] with the widget area you'd like to modify. Example: clover-front-page-5)
  3. Next, go to Appearance > Widgets and add an additional Genesis Featured Page Advanced widget to your preferred Front Page widget area. Configure the widget to match the others, and then you're all set!

Navigation

Change position of the split navigation after logo size has been changed

If you've uploaded a custom logo image and changed the display size, your split navigation menus may display vertically "off-center" relative to your logo. You can adjust the position of the menus with a code snippet:

  1. Click here and copy the code.
  2. Go to Appearance > Customize > Additional CSS and paste the code in the box.
  3. You can change the -100px margin value to whatever you need. Just keep increasing (or decreasing) the margin value until the navigation is positioned where you'd like.

Center the split navigation menu

By default, the split navigation menu display aligned to the edges of the header area. If you'd like the navigation to instead center around the header/logo area, that's possible with a simple code tweak.

  1. Click here and copy the code.
  2. Go to Appearance > Customize > Additional CSS and paste the code in the box.

Center the top navigation menu

By default, the top navigation menu is left aligned. Here's how to center it. Note: Recommend removing the social icons and search icon when the top navigation is centered.

  1. Click here and copy the code.
  2. Go to Appearance > Customize > Additional CSS and paste the code in the box.

Header

Modify logo size and position on mobile

If you changed your logo size on desktop, you may want to adjust the size on mobile as well.

  1. Click here and copy the code.
  2. Go to Appearance > Customize > Additional CSS and paste the code in the box.
  3. Inside the Customizer, you can click the phone icon to view the mobile version of your site. Then adjust the 180px and 60px values to whatever size looks best with your particular logo. Click Publish to save.
  4. Note: If you need to adjust the vertical placement of your logo, there is a margin value included that you can adjust. To move the logo up, use a negative value (i.e. -5px) and to move the logo down, use a positive value (i.e. 5px).

Footer

Move footer subscription widget to the center

By default, the 3-column footer displays 2 menus on the left and a subscription widget on the right. If you'd like the subscription widget to display between the two menus instead, here's what to do:

  1. Click here and copy the code.
  2. Go to Appearance > Customize > Additional CSS and paste the code in the box.
  3. Go to Appearance > Widgets. Open Footer 2 and move the Navigation Menu widget into Footer 3 (right footer column).
  4. Open Footer 3 and move the Genesis eNews widget into Footer 2 (middle footer column).

3 equal footer columns

By default, the 3-column footer displays in a 25% / 25% / 50% format. This code tweak will modify each column to be equal width (33%).

  1. Click here and copy the code.
  2. Go to Appearance > Customize > Additional CSS and paste the code in the box.

Center the footer navigation menus

By default, the footer navigation menus will display left aligned. This code tweak will center the widget title and links in the navigation menu widgets in the footer.

  1. Click here and copy the code.
  2. Go to Appearance > Customize > Additional CSS and paste the code in the box.

Replace footer social icons with a navigation menu

By default, the bottom left footer in the Clover theme displays your social media icons. If you'd prefer to display a navigation menu there instead, we'll show you how in this tutorial.

  1. Go to Appearance > Menus > Create a New Menu.
  2. Add your desired navigation links to the menu. No more than 3 are recommended for this particular menu location. Click Save Menu.
  3. Go to Appearance > Widgets. Open the Footer Social Icons widget area and remove any widgets that are inside that area.
  4. Drag a Navigation Menu widget into the Footer Social Icons widget area. Select the menu you created in steps 1-2.
  5. Lastly, click here and copy the code. Go to Appearance > Customize > Additional CSS.
  6. Paste the code in the box. Click Publish to save.