WP Residence Help WP Residence Help

  • WpEstate
  • How to Build Your Website
  • Video Tutorials
  • Client Support
  • API
Home / Technical how to | Custom Code Required, WpResidence 5.0 / Understanding WPResidence Header Types: An Overview

Understanding WPResidence Header Types: An Overview

454 views 0

Understanding WPResidence Header Types: An Overview

WPResidence offers multiple header types, each with its unique layout and features. This guide will provide an overview of each header type and explain how to customize them using a child theme.

Using the WPResidence Child Theme

Before we dive into the header types, it’s crucial to understand the importance of using a child theme for customizations:

  • Preserves your modifications during theme updates
  • Keeps the parent theme intact for future updates
  • Allows for easy reversion if needed

To use the child theme:

  1. Upload and activate the child theme that comes in the WPResidence package
  2. Make all customizations in the child theme files to ensure they’re preserved during updates

Overview of Header Types

According to the options-init.php file, WPResidence offers several header types. Let’s explore each one:

1. Header Type 1: Default Layout

This is the standard header layout.

Customization Example:

To adjust the spacing in the header, add this to your child theme’s style.css:


.header_wrapper_inside {
    padding: 0 20px; /* Adjust as needed */
}

2. Header Type 2: Alternative Layout

This header type offers a different arrangement of elements.

3. Header Type 3: Centered Logo

This header type features a centered logo.

Customization Example:

To adjust the logo size, add this to your child theme’s style.css:


.header_type3 .logo img {
    max-height: 80px; /* Adjust size as needed */
}

4. Header Type 4: Alternative Layout with Sidebar

This header type includes a sidebar layout.

5. Header Type 5: Two-Row Header

This header type includes two rows for different elements.

Customization Example:

To style elements in the top row, add this to your child theme’s style.css:


.header_type5 .header5_top_row {
    background-color: #f0f0f0; /* Adjust color as needed */
}

6. Header Type 6: Three-Column Layout

This header type features a three-column layout.

Selecting a Header Type

To choose a header type for your WPResidence theme:

  1. Go to your WordPress dashboard
  2. Navigate to WPResidence > Theme Options
  3. Look for the “Header Design” or “Header Type” option (exact location may vary)
  4. Select your preferred header type from the available options
  5. Save your changes

Advanced Customization

For more advanced customizations, you can override template files in your child theme. For example, to customize a specific header type:

  1. Locate the corresponding header file in the parent theme (e.g., wpresidence/templates/headers/header1.php)
  2. Copy it to your child theme in the same directory structure
  3. Edit the file in your child theme to make your desired changes

Note: Always test your changes thoroughly and keep backups of your original files.

Conclusion

Understanding the different header types in WPResidence allows you to choose the best layout for your real estate website. Remember to always use the provided child theme for customizations to ensure your changes are preserved during theme updates. In the next articles, we’ll dive deeper into customizing specific aspects of each header type.

Technical how to | Custom Code RequiredWpResidence 5.0

Related Articles

  • Technical – How to Change the Minimum Image Dimensions for Property Uploads in WPResidence
  • Introduction to WPResidence Header Customization
  • Customizing the WPResidence Logo Display
  • Configuring the Primary Navigation Menu in WPResidence

WP Residence Documentation

  • 1. General
    • How to Get Support
    • Get your buyer license code.
    • Use SSL / https
    • Server / Theme Requirements
  • 2. Installation
  • 3. Installation FAQ
  • 4. Advanced Search
    • Advanced Search Display Settings
    • Advanced Search Form
    • Geolocation Search for Half Map
    • Save Search Theme Options
    • Advanced Search Colors
  • 5. Agent, Agency & Developers
  • 6. Property Page
  • 7. Properties List
  • 8. Property Taxonomies
  • WpResidence Elementor Studio
  • 10. Blog Posts & Blog List
  • 11. Shortcodes
    • Contact Form
    • Featured Agency/Developer
    • Membership Packages
    • Testimonials
    • Google Map with Property Marker
    • Listings per Agent, Agency or Developer
    • Display Categories
    • Agent List
    • Recent Items Slider
    • Recent items
    • List Properties or Articles by ID
    • Featured Agent
    • Featured Article
    • Featured Property
    • Login & Register Form
    • Icon Content Box Shortcode
  • 12. Widgets
  • Theme Options
    • General Settings
    • User Types Settings
    • Appearance
    • Logos & Favicon
    • Header
    • Footer Style and Colors
    • Price & Currency
    • Property Custom Fields
    • Features & Amenities
    • Listing Labels
    • Theme Slider
    • Permalinks
    • Splash Page
    • Social & Contact
    • Map Settings
    • Pin Management
    • How read from file works
    • General Design Settings
    • Custom Colors Settings
    • Header Design & Colors
    • Mobile Menu Colors
    • User Dashboard Colors
    • Print PDF Design
    • Property, Agent, Blog Lists Design Settings
    • Sidebar Widget Design
    • Font management
    • How to add custom CSS
    • Custom Property Card Unit – Beta version
    • Email Management
    • Import & Export theme options
    • reCaptcha settings
    • YELP API Integration
    • iHomefinder Optima Express IDX
    • MEMBERSHIP & PAYMENT Settings
    • Property Submission Page
    • PayPal Setup
    • Stripe Setup
    • Wire Transfer Payment Method
  • Translation
  • FAQ
  • Pages
  • Header
  • Footer
  • Google or Open Street Maps
  • Payment Options
  • Plugins
    • Included Plugins
    • Third Party Plugins – IDX Compatibility
    • Third Party Plugins – Multi Languages
    • Third party Plugins – Other
  • Technical
    • Technical how to | Custom Code Required
    • Technical: Child Theme

Join Us On

Powered by WP Estate - All Rights Reserved
  • WpEstate
  • How to Build Your Website
  • Video Tutorials
  • Client Support
  • API