Welcome to the comprehensive guide on Common Section Types Settings within Lagom WHMCS Website Builder (opens new window). This article delves into the shared settings and functionalities that empower you to create consistent and visually appealing web pages.
Use the "Button Manager" function, to create and assign custom buttons in different sections with ease. Boost user engagement and enhance website conversion with effective call-to-action buttons.
Displays list of created buttons, which then could be managed or removed.
Allows you to choose button size, which are defined in "Style Manager".
List of options available for this field:
30px
height.36px
height.44px
height.56px
height.64px
height.Choose button style, personalize interface with various button designs. Enhance user experience.
List of options available for this field:
Embrace creative control by selecting your desired button color, conveniently managed within the comprehensive "Style Manager" section for seamless personalization.
List of options available for this field:
Type in the text that you want to appear on the button you are creating. This text will be visible on the button when you are done. You can also use language strings to update the Button Text globally across your website. For detailed instructions on utilizing this feature, please refer to the "Language Strings" section.
Select the action you want the button to perform when it is clicked. This way, you can decide what happens next after someone clicks on the button you've made.
When "Custom URL" option is selected, additional field will be shown, where you can enter your custom URL, which then will be assigned to this button.
When "WHMCS Page" option is selected, additional select field will be shown. This field allows you to select a link to WHMCS or CMS page. Once selected, our addon automatically generate the URL and assign it to the button.
When "WHMCS Product" option is selected, additional select called "Button Linked Product" will be shown below. In this select you can choose to what product or product group ordering process this button should be linked. WHMCS product and product groups can be managed in WHMCS settings (opens new window).
When "Homepage" option is selected, specific button will always link to the page marked as "homepage".
This field allows you to assign custom classes to your button, which gives you advanced possibilities to perform further customization, via CSS or JS files.
Here are few custom classes which are used in predefined CMS pages, to animate right arrow on button hover:
flex-row-reverse
- this call will change the order of the button elements, icons from the left side will be moved to the right.icon-animation
- with this class icons will be hidden by default, they will be shown only on button hover.Upon choosing "One URL in New Window," clicking the button will result in the designated URL opening in a fresh browser tab for a seamless browsing experience.
This feature provides you with the flexibility to select an icon for the button you've created. You can choose from a list of pre-defined icons to add visual flair to your button's design.
The "Link Text" and "Button Text" fields provide an option to add language strings. This feature allows you to easily update text across multiple buttons or links on your site from a single location. For instance, if you want to globally replace the text "Get Started Now" on all buttons with "Buy Now", you can do so in a language file, rather than editing each button on each page individually via the Lagom WHMCS Website Builder. You have an option to use already existing string, or create your own string, by creating an override file.
In this example we’ll show you how you can use already existing string from WHMCS language file located in /langs/english.php
.
For example, if you decide to use following variable in your button $_LANG['cPanel']['emailAccounts'] = "Email Accounts";
If the WHMCS language file does not contain the language string you would like to use, you can create an override file by following this "documentation article" (opens new window).
In this example, we'll demonstrate how to use a language string from a language translation file, based on the following example code:
'website' => [
'products' => [
'product_btn' => 'Get Started Now'
]
]
Use the variable $RSLANG.website.products.product_btn
. It is constructed from the main key (website
), followed by the subsequent keys (products.product_btn
), all separated by periods (.
). You can then use this variable in the input field for your link.
Selected fields in sections has an option to manage them using advanced "Text Editor", which gives you additional options to manage the content using its tools, or write your own HTML code.
h1-h6
Eliminate bottom padding and borders from a managed section, allowing the fusion of two sections. It is recommended to apply identical "Section Style" in the "Section Panel"' for seamless integration.
Below is an example usage of this setting in our demo page.
This configuration pulls the section below over the currently managed section while adding an extra 200px
padding at the bottom. You can adjust the pixel value by customizing the --cms-section-overlay-margin
CSS variable through custom CSS rules.
Section which will be overlapped over this section, should use "Default" setting for the "Section Style" in "Section Panel". This way overlapped section will be transparent, so you will receive required result.
Below are an example usages of this setting in our demo pages:
Option prepared for "Background Types" where Lagom shape is added to the background.
Assign a distinct name to section anchors, providing the convenience of directing individuals to specific sections through purposeful linking.
Here's how you can use the above option:
#pricing
to the end of a Shared Hosting URL like this: https://demo.rsstudio.net/lagom-website-builder/shared-hosting#pricing (opens new window), you can directly lead customers to the "Product" section.#pricing
to the "Custom URL" field, in "Button Manager" modal, your customers will be automatically scrolled to the "Product" section, once button is clicked.Please note that the "Anchor Name" should be entered to below field without #
sign.
This setting allows you to assign custom classes to the section container. You can input your own CSS class here and then apply the necessary styling in the theme-custom.css file, or choose from our list of predefined classes below.
You can add multiple classes to this field, for example:"
Commonly used classes for section type "Graphic" in our predefined pages.
img-shadow
- adds shadow to the custom image for the graphic "Type 2"img-size-lg
- overrides the graphics container width to 928px
, for the graphic "Type 2"lagom-animation lagom-animation-fadeinbottom
- commonly used in our predefined pages, adds animation to the image shown in section type.section-with-h3-title
- commonly used in our predefined pages, this class change size of the section title to h3
.