Search Results for block element -

70 results found

generate_menu_bar_items

The generate_menu_bar_items hook allows you to hook non-menu item elements such as buttons, icons and whatever else your design requires. Content added there will automatically display in the navigation and mobile header. Using a Hook Element If you have GP Premium, you can use a hook element and add the content like this: Using a Function […]

generate_next_link_text

The generate_previous_link_text allows you to change the text in .paging-navigation element. For example, if we want to use >> instead of the default text Next:

generate_previous_link_text

The generate_previous_link_text allows you to change the text in .paging-navigation element. For example, if we want to use << instead of the default text Previous:

generate_page_class

The generate_page_class filter allows you to add custom classes to the #page element. For example:

Animated Hamburgers

By default, our mobile menu icon doesn’t do any animated when you click it. We prefer to skip the animation and move straight to a close icon, as it’s more lightweight that way. However, if you want to animate your mobile menu icons (hamburger icons), you can do some with some custom code. The first […]

generate_page_hero_post_author

The generate_page_hero_post_author allows us to alter the HTML of the post author when using {{post_author}} template tag in header element. Example If we don’t want a link surrounding the post author:

How to Create a Page Hero

The Header element module is one of the most popular features of GP Premium and the amount of options available can definitely be overwhelming at the beginning. If you are struggling to make a page hero, the following steps should provide a quick guideline on how to get started. For detailed explanation of each option, […]

Mobile Header

Note: This option requires the Menu Plus add-on in GP Premium. The mobile header option is found in Appearance > Customize > Layout > Header. This option disables the default website header on mobile devices: and replaces it with a streamlined version: The mobile header inherits your navigation colors set in Customize > Colors > Primary Navigation. […]

Navigation as a Header

Using navigation as a header as seen above is one of the most popular and requested layouts currently. Starting in GP Premium 1.8, you can find this option under Layout > Header: Basic Make sure there is a site title or/and a logo in added Site Identity. Check to activate Use Navigation as Header option […]

Content Padding

Note: This option requires the Spacing add-on in GP Premium. You can adjust the padding inside your content container in Appearance > Customize > Layout > Container. The value you see is in pixels, and controls the amount of space between the edge of your content container and content inside of it. Note that this can be adjusted […]