Posted on

Hopeareunus updated to version 0.1.2.3

There is a small update on Hopeareunus Theme.

  • Add hopeareunus_singular_loop_nav filter to loop-nav.php.
  • Add menu parent class using filter wp_nav_menu_objects and remove it from js.
  • Removed .sub-indicator and added #menu-primary .menu-item-parent > a to styles.

The main thing I wanted to do this update is because Chip Bennett told pure CSS way of adding sub menu indicators. Well, you need some PHP also. Anyways if you have done something complete custom in your child theme CSS, you might want to update it. Basically I just added these styles.

#menu-primary .menu-item-parent > a:after {
content: "\f105";
float: right;
font-family: 'FontAwesome';
padding-left: 7px;
padding-left: 0.5rem;
}