How to make a responsive header with Elementor

WPEspresso
10 Aug 202323:36

Summary

TLDRThis tutorial guides viewers on creating a responsive Elementor header using flexbox technology. It incorporates Untitled UI, a comprehensive UI kit, to design a mobile and tablet-friendly sticky header. The video demonstrates setting up a child theme, activating flexbox, and using Elementor's team builder to add and style menu widgets, buttons, and a site logo. It also covers creating a WordPress menu, adjusting typography, colors, and hover effects to match the UI kit's design. Finally, it ensures the header is sticky on scroll and responsive across devices.

Takeaways

  • 😀 The tutorial focuses on creating a responsive Elementor header using flexbox technology.
  • 📱 It ensures the header is mobile, tablet-friendly, and sticky to the top of the screen.
  • 🛠️ The tutorial utilizes the Untitled UI kit, which is a comprehensive resource for UI design elements.
  • 🔗 A link to the Untitled UI kit is provided in the video description for those interested in the pro version.
  • 🎨 The tutorial demonstrates how to activate flexbox container in Elementor's settings and features.
  • 🏗️ It guides viewers through the process of building the header structure using Elementor's team Builder and header options.
  • 🔧 The video shows how to add and style menu widgets, buttons, and the site logo within the header.
  • 🖌️ It covers the process of customizing the typography, colors, and hover effects to match the Untitled UI kit's design.
  • 📊 The tutorial explains how to adjust the header's layout for different screen sizes, ensuring a responsive design.
  • 🔄 It demonstrates techniques for fixing alignment and spacing issues to achieve a clean and polished header design.

Q & A

  • What is the main focus of the video tutorial?

    -The main focus of the video tutorial is to create a responsive Elementor header that works on mobile, tablet, and desktop, using flexbox technology and incorporating a UI kit called Untitled UI.

  • Which UI kit is recommended for enhancing the design of the Elementor header?

    -The video recommends using the Untitled UI kit for enhancing the design of the Elementor header. It offers a variety of design elements that can be used for projects.

  • What is the first step in creating the header using Elementor?

    -The first step is to access the Elementor's Template Builder and then select 'Header' to start adding elements to create the header structure.

  • How does one add a new header in Elementor?

    -To add a new header in Elementor, click the plus button and then select 'Add New'. After that, you can start adding elements to your header.

  • What widget is used to create the menu in the Elementor header?

    -The 'Menu' widget is used to create the menu in the Elementor header. It is added by searching for it and then dragging and dropping it into the desired container.

  • How can you ensure that the header is sticky on scroll?

    -To make the header sticky on scroll, you need to select the main container, go to the 'Style' tab, and then choose the 'Sticky' motion effect, setting it to 'Stick to the top'.

  • What is the process to add a logo to the Elementor header?

    -To add a logo, you first upload the logo image in the WordPress admin panel under 'Appearance' > 'Customize' > 'Site Identity'. Then, in Elementor, you drag and drop the 'Site Logo' widget into the header and adjust its size and alignment as needed.

  • How does one change the text of the buttons in the Elementor header?

    -To change the text of the buttons, select the button widget and edit the text directly in the 'Content' tab or by clicking on the text and typing the new text.

  • What is the role of the 'Navigator' in Elementor when building the header?

    -The 'Navigator' in Elementor provides a visual structure of the elements on the page, making it easier to select and edit specific parts of the header without having to manually click through layers.

  • How can you adjust the alignment and width of elements within the header?

    -You can adjust the alignment and width of elements within the header by selecting the container or element, then using the 'Layout' and 'Style' tabs to modify properties such as 'Align Items', 'Justify Content', and 'Width'.

  • What is the purpose of disabling default colors and fonts in the Elementor settings?

    -Disabling default colors and fonts in the Elementor settings allows for a clean slate when starting a new design, enabling full control over the aesthetics without being influenced by pre-set styles.

Outlines

00:00

🛠️ Setting Up a Responsive Elementor Header

The video tutorial begins by introducing the process of creating a responsive Elementor header that works across mobile, tablet, and desktop devices. The presenter plans to utilize flexbox technology and a UI kit called 'Untitled UI' for design elements. The tutorial focuses on using a child theme of the 'Hello Elementor' theme and activating the flexbox container in the theme settings. The presenter guides viewers on how to add a new header using Elementor's template builder, and then proceeds to structure the header by adding containers and widgets such as the menu widget and buttons. The process involves duplicating containers, adjusting their layout, and organizing the elements using the Navigator tool for better visibility and control.

05:02

🎨 Customizing the Header with UI Kit and Menu Setup

In this segment, the presenter demonstrates how to customize the header's appearance using the 'Untitled UI' kit, which includes a variety of design elements. The focus is on styling the menu, buttons, and other elements according to the UI kit's specifications. The tutorial covers changing the text, adjusting typography, and applying colors to match the design. The presenter also shows how to create and add a menu in WordPress, which will be integrated into the Elementor header. This includes publishing the page, adding conditions, and saving the menu. The tutorial also covers how to edit the header template in Elementor, add a site logo widget, and style it according to the design requirements.

10:04

🔧 Adjusting Logo and Buttons for Consistency

The video continues with the presenter adjusting the logo and buttons within the header to ensure they match the design from the 'Untitled UI' kit. This includes changing the order of elements, updating the template, and uploading a logo that fits the design. The presenter also discusses adjusting the logo's size and alignment, as well as modifying the button's border radius and padding to closely resemble the design from the UI kit. The tutorial emphasizes the importance of previewing the design and making necessary adjustments to achieve a consistent look across different devices.

15:04

📱 Optimizing for Mobile and Tablet Views

This part of the tutorial focuses on optimizing the header for mobile and tablet views. The presenter shows how to adjust the menu and logo for smaller screens, ensuring that they are appropriately sized and aligned. The tutorial includes steps for hiding certain elements on mobile and tablet views, adjusting the width of containers, and ensuring that the menu items are full-width for better readability on smaller screens. The presenter also demonstrates how to change the menu icon for mobile views and ensure that the menu functions correctly on all devices.

20:05

🔄 Final Touches and Sticky Header Effect

The final part of the tutorial involves making final adjustments to the header, such as cleaning up default spacing in Elementor containers and ensuring that elements are correctly aligned and sized. The presenter also adds a sticky header effect, which keeps the header at the top of the screen when scrolling down the page. The tutorial concludes with a demonstration of the header's appearance and functionality on desktop, tablet, and mobile views, highlighting the responsive nature of the design. The presenter encourages viewers to perfect their design to match the UI kit closely and thanks them for watching the tutorial.

Mindmap

Keywords

💡Elementor

Elementor is a popular page builder plugin for WordPress that allows users to create and customize their websites without needing to write code. In the video, the presenter uses Elementor to create a responsive header, demonstrating how to utilize its features like the Team Builder and header editing tools. This showcases Elementor's role in facilitating website design and customization.

💡Responsive

Responsive design refers to the ability of a website to adjust its layout and elements to fit different screen sizes and devices, ensuring a consistent user experience. The video tutorial focuses on creating a responsive header that adapts to mobile, tablet, and desktop views, highlighting the importance of responsive design in modern web development.

💡Flexbox

Flexbox is a CSS layout module that makes it easier to design flexible and responsive layouts. The video script mentions using Flexbox technology to create a flexible and responsive header. Flexbox is utilized to align and distribute space among items in the header, demonstrating its utility in achieving complex layouts with ease.

💡UI Kit

A UI (User Interface) kit is a collection of design elements and components that can be used to create a consistent look and feel across a website or application. The video references 'Untitled UI,' a UI kit that the presenter uses to style the header, showcasing how UI kits can streamline the design process and ensure visual consistency.

💡Sticky Header

A sticky header is a website design feature where the header remains visible at the top of the screen as the user scrolls down the page. The tutorial demonstrates how to make the header sticky using Elementor's features, which enhances user navigation and maintains accessibility throughout the site.

💡Menu Widget

In the context of the video, a menu widget is a component used to create a navigation menu within the Elementor interface. The presenter adds a menu widget to the header and customizes it, illustrating how menu widgets can be integrated into a website's header to provide site navigation.

💡Child Theme

A child theme in WordPress is a theme that inherits the functionality and styling of a parent theme but allows for modifications without affecting the parent theme's files. The script mentions using a child theme of 'Hello Theme,' emphasizing the practice of using child themes to customize websites while preserving original theme integrity.

💡Typography

Typography in web design refers to the art and technique of arranging type to make written language legible and appealing. The video script discusses changing the typography of the menu items, such as font size and weight, to match the design from the UI kit, demonstrating the importance of typography in achieving a polished and professional look.

💡Hover Effect

A hover effect is a visual change that occurs when a user points their cursor at an element on a webpage. The video tutorial shows how to create a hover effect for the menu and buttons, enhancing interactivity and providing visual feedback to users as they navigate the header.

💡Padding

Padding in web design is the space between the content of an element and its border. The script describes adjusting the padding of buttons and other elements to refine the layout and improve the aesthetic appeal. Proper padding ensures that elements are not cramped and are visually comfortable.

💡Border Radius

Border radius is a CSS property that defines the degree to which the corners of an element are rounded. In the video, the presenter changes the border radius of buttons to give them a more modern and smooth appearance, illustrating how border radius can be used to create custom shapes and styles for design elements.

Highlights

Introduction to creating a responsive Elementor header using flexbox technology.

Utilization of Untitled UI kit for design elements.

Enabling flexbox container in Elementor settings for better layout control.

Adding a new header using Elementor's template builder.

Using the Navigator for efficient widget management in Elementor.

Creating a menu widget and organizing it within the header structure.

Duplicating and managing container widgets for header elements.

Adding and styling button widgets for the header.

Adjusting the layout direction and content justification in the header.

Creating and assigning a WordPress menu to the Elementor header.

Incorporating the site logo widget and aligning it within the header.

Customizing the header's design using Untitled UI kit elements.

Styling the menu and buttons with specific typography and colors.

Previewing and adjusting the header for desktop, tablet, and mobile views.

Making the header sticky on scroll for improved user experience.

Troubleshooting and fixing alignment issues in responsive views.

Finalizing the header design with proper padding, alignment, and spacing adjustments.

Conclusion and a call to action for viewers to follow along with the tutorial.

Transcripts

play00:00

hi everyone and welcome in this new

play00:02

video tutorial today we are going to

play00:03

create an Elementor header in a

play00:06

responsive way so it will be a mobile

play00:08

tablet it will be sticky and we are

play00:11

going to use flexbox technology and the

play00:14

best thing is that we are going to use

play00:15

this cool UI kit called Untitled UI you

play00:20

will find the link in the description if

play00:21

you want to get the pro version of this

play00:23

big figma UI kit there is a ton of

play00:26

things that you can use for your project

play00:28

and looks pretty awesome so let's start

play00:30

with the video

play00:31

hi everyone so I'm going to show you

play00:33

what I'm using as a team I'm using a

play00:35

child theme of the hello team you can

play00:37

also use only the hello team if you

play00:39

prefer then on the settings and features

play00:42

make sure you have flexbox container

play00:44

activated

play00:48

on General I usually disable the default

play00:51

colors and font

play00:54

click on team Builder and then on header

play00:57

click the plus button to add a new

play00:59

header

play01:01

so I will close this pop-up and then

play01:04

create my own Header by clicking the

play01:06

plus button and clicking this little

play01:07

arrow here so here we are going to add

play01:10

our elements so click on the plus button

play01:12

then select the container widget add it

play01:17

here and as you can see I'm using the

play01:19

Navigator right click here and then

play01:22

navigator to show the Navigator if you

play01:25

don't know what I'm using just check the

play01:27

Navigator every time it's very useful

play01:30

so follow along here click on the plus

play01:32

button

play01:35

search for a widget in this case the

play01:37

menu widget

play01:39

perfect

play01:40

so now we have the menu widget here

play01:42

right we are going to click on this

play01:44

container and then duplicate it so now

play01:47

we have two containers select the main

play01:50

container on the top

play01:52

and then select the direction right

play01:57

select the the menu widget here and

play02:00

delete it

play02:03

right click delete and we're going to

play02:05

add our buttons here

play02:08

so search for button

play02:11

drag and drop the button widget

play02:14

click on the button widget right click

play02:17

duplicate and now we have two button

play02:19

widgets select the container of those

play02:21

buttons you can select it from here from

play02:23

the Navigator as you can see and then

play02:25

again

play02:27

Direction horizontal on the right and

play02:30

then we are going to put the Justified

play02:31

content on the end in this case we have

play02:35

our structure right now so here we put

play02:38

on the start by selecting this container

play02:41

and now let's change the text of the

play02:43

buttons

play02:50

so select the buttons and change the

play02:52

text very easily

play02:54

great now we have to change the menu

play02:57

right we don't have a menu on WordPress

play02:59

so let's create it publish the page add

play03:02

a condition and select entire site save

play03:05

and close

play03:07

perfect

play03:10

so let's get back to the WordPress admin

play03:12

panel so I usually select this and WP

play03:15

dashboard and apply so every time I exit

play03:18

from this I get here and then I'm going

play03:21

to appearance menus and I will start

play03:25

adding my menu so in this case I will

play03:26

call it main menu or let's call it a

play03:31

main one okay

play03:33

great so now I'm going to add all the

play03:36

the pages in this case I'm going to add

play03:39

custom links because I don't have pages

play03:41

in your case you can use pages instead

play03:44

as you can see now I'm adding all my

play03:47

pages

play03:54

okay so I added everything save the menu

play03:58

and now we should go back to our um you

play04:02

know header

play04:04

make sure the menu is saved okay we have

play04:06

saved it so we are going now Elementor

play04:09

sorry templates team Builder and you

play04:13

know Elementor header here is it

play04:19

click on it

play04:21

and then edit

play04:23

great so now click on this little icon

play04:25

and change the name of this template

play04:28

header template I will call it menu one

play04:31

and as you can see anyway we have added

play04:33

our menu and it's displaying right here

play04:35

so let's go and add also the logo click

play04:38

on this container here click on this

play04:41

icon and select the site log widget drag

play04:44

and drop it here and now we are going to

play04:47

style it I'm going to select the pixel

play04:50

instead of percentage and then give here

play04:52

give him a width

play04:54

in this case we're going to select again

play04:56

the container and then we are going to

play04:59

select the direction again on the right

play05:01

and now we are going to change the order

play05:04

of it so very easily from the Navigator

play05:07

as you can see we can select the site

play05:09

logo drag and drop it on the top and now

play05:12

the order is correct so let's see the

play05:15

preview

play05:17

great looks like the structure is done

play05:21

select the main container and then you

play05:25

can play with the width if you want so

play05:27

you can select the the width you want

play05:29

here I will keep it like this for now I

play05:31

will change it later and here you can

play05:33

have it also full weight if you want and

play05:36

as you can see it's taking the full

play05:37

weight of the of the whole website

play05:43

great

play05:45

so now we are going to try and style

play05:48

everything

play05:49

for the design I'm using

play05:52

um Untitled UI as you can see I'm

play05:55

putting the link in the description to

play05:57

get this big UI kit I'm saving now the

play06:01

logo because I want to add a logo here

play06:04

I'm using the the UI kit logo so first

play06:07

update this template and let's

play06:11

um edit the menu by changing the styling

play06:15

of the menu so basically I get here on

play06:18

the design and the UI kit settings and I

play06:21

check like

play06:23

um you know the font size and everything

play06:25

so

play06:26

with this clicked go on Style

play06:29

check typography and of course start

play06:33

adding the typography in this case I'm

play06:35

going to use enter and the size will be

play06:37

16 pixel

play06:40

the weight will be

play06:42

um let's see semi bolt 600 okay and

play06:48

we'll also need to change the color

play06:49

right so let's see what is the color

play06:52

here

play06:53

so I'm going to copy the the code color

play06:57

code right here wait uh where is it

play07:01

um okay not here sorry but here in the

play07:04

text color

play07:05

here is it and now the um the menu items

play07:09

looks like the design right we don't

play07:11

have drop downs but anyway let's go to

play07:13

the buttons and again select the main

play07:16

color of the button

play07:18

copy the code and let me go first of all

play07:22

on the hover because I want to make the

play07:25

color hovering effect here on this menu

play07:28

as you can see now the text is changing

play07:31

the color and I'm going also to remove

play07:33

the underline because I don't like it

play07:35

very much so I'm going to remove it so

play07:38

no

play07:39

and now as you can see everything is

play07:41

working fine Mouse over effect and now

play07:44

is the turn of the buttons click on the

play07:46

buttons here and start styling it so the

play07:49

first one actually doesn't have like a

play07:52

background right it's just looks like a

play07:54

simple menu item so I select here I

play07:57

select it here on the design and then I

play08:00

just keep you know adding The Styling so

play08:03

style it very quickly

play08:06

on style change the color of the text

play08:12

perfect

play08:13

and then we also need to change the

play08:16

background color right so the background

play08:18

type it's basically on the bottom uh

play08:21

here is it if you want you can disable

play08:24

it but if you disable it I see usually

play08:28

that the color doesn't change so I

play08:29

usually enable it select a white color

play08:32

as background or you can even make it

play08:35

transparent so you're sure that there is

play08:37

no background so I usually do this and

play08:40

then you can change the typography to

play08:42

enter of course I usually use

play08:46

um you know

play08:47

a general setting for the fonts and

play08:50

everything but in this tutorial we are

play08:51

going to basically set up each item so

play08:55

it's faster

play08:56

great so here is it and the design looks

play09:00

the same let me try to check the font

play09:03

size and everything

play09:05

um yeah so everything is correct great

play09:08

so I'm going to copy right click and

play09:10

paste the style also on the sign in

play09:13

um button and then

play09:17

you know change the background by

play09:19

clicking here we are going to paste the

play09:22

color so I'm going to get this the color

play09:24

from the design again

play09:26

if I remember here is it and okay so we

play09:31

have this color here

play09:33

and is the normal

play09:35

color perfect we need to make the test

play09:39

why the text sorry White and the hover

play09:43

effect we need to change it to

play09:46

um darker color so I'm going to select

play09:48

the color icon here and then on figma

play09:51

this UI kit can also have

play09:55

um the

play09:56

um how can I call it

play09:58

the state right so the state could be in

play10:01

Hover and as you can see now it's darker

play10:03

so I'm going to get this color here

play10:06

and copy

play10:07

and paste it

play10:10

so you can play around here as you can

play10:12

see there is a lot of option in this UI

play10:14

kit anyway let's go back and paste the

play10:18

darker color and now when I Mouse over

play10:21

on the sign in Button as you can see

play10:23

there is the mouse hover effect that's

play10:25

great

play10:26

so perfect let's see the preview and

play10:29

everything looks really cool

play10:31

maybe the design is not exactly the same

play10:34

but we will fix that in a moment

play10:37

so click on the first button

play10:40

check the hover effect

play10:42

I'm going to change the text color again

play10:44

to the Violet so that you actually have

play10:47

also the login Mouse hover effect and

play10:50

then the logo let's change the logo now

play10:53

so update the template and you need to

play10:56

click on this little Burger menu here on

play10:58

the left wait

play10:59

click again and make sure it's boxed

play11:03

let's say I want to make it box it right

play11:05

away

play11:06

so let's see what the figma has as width

play11:09

right of the mini width so I'm selecting

play11:12

the menu width and as you can see is it

play11:17

1440 and I will do the same here so I

play11:21

will add 1440.

play11:24

and now I want to change the logo right

play11:27

so save the template first

play11:29

then go on the top left Burger menu site

play11:32

settings and then you're going to change

play11:35

the site identity and here site logo and

play11:39

I'm going to upload my logo so I'm going

play11:42

to use the Untitled logo

play11:44

and then you need to click update to see

play11:47

the change

play11:49

close this with this x button so you get

play11:52

back to the template and as you can see

play11:53

now we have our logo right but the size

play11:56

is not correct so let's click on the

play11:58

container now and then I'm going to

play12:01

check

play12:02

the center right the Align Center so the

play12:06

logo is now centered vertically then the

play12:08

width of the logo we are going to set it

play12:10

up let me check the design so if I

play12:13

select the logo here it's giving me on

play12:16

the top right the width and is 142 and

play12:20

I'm going to add here 142 pixel as you

play12:24

can see now the logo is correctly sized

play12:27

and going to update again

play12:29

now let's click on the button here and

play12:32

go on style and Border radius we're

play12:34

going to change it to 8. I don't

play12:37

remember if it's actually eight but yep

play12:40

it's actually eight and then we are

play12:43

going to add the padding right I'm going

play12:46

to try to add the same padding here

play12:49

um as the design on figma as you can see

play12:51

I unlocked

play12:53

um the linked so I can change the values

play12:55

for each input box again let me check

play12:59

this

play13:03

so I'm checking the font because doesn't

play13:05

really look the same probably the pixel

play13:08

padding on the web browser is not

play13:11

actually looking the same anyway I think

play13:13

the line height of the the font is the

play13:15

problem here anyway I don't want to lose

play13:18

time so I'm going to try and reproduce

play13:21

this design

play13:22

um by adding some some pixels so again

play13:25

click the button and try to play around

play13:28

with the padding

play13:42

okay so uh I think I will set it like

play13:45

this looks a little bit more like the

play13:46

figma in this case

play13:48

um and then

play13:50

um I'm going to try and check again here

play13:51

the font sizing everything is correct so

play13:54

let's see the preview it looks a little

play13:56

bit better okay take your time and make

play13:58

it same as the design if you want to get

play14:00

the same exact design so I'm going to

play14:02

update this

play14:04

and then

play14:05

um I'm going to check now

play14:07

um this little border here and a little

play14:10

border is a gray color so I'm going to

play14:13

click here and get the color code and

play14:16

basically go back to Wordpress

play14:22

and then select the main container and

play14:26

you can go on style and add a border so

play14:28

unlock the link here and add a one

play14:31

border and then select solid border and

play14:35

now we can change the color of that

play14:37

solid Border in the color code we just

play14:39

got the gray one so now if I check the

play14:42

preview we have a little Gray Line here

play14:44

at the bottom that looks really nice so

play14:46

open again the option update here go on

play14:50

the bottom left icon for the mobile and

play14:52

tablet version and now you can select

play14:55

this menu here and make it full weight

play14:59

advanced

play15:00

select the center to align itself

play15:03

and that's great now if I click on it

play15:06

the menu is coming down

play15:08

here is the preview

play15:13

great so now let's change the settings

play15:15

click on this icon here okay right click

play15:20

copy select the container the right

play15:23

container and then right click paste now

play15:26

we have our icon here our menu icon if

play15:29

you click on it it's still working right

play15:31

and it's still getting the same menu so

play15:33

I'm going now to select uh here on text

play15:36

align Center so that when I click on it

play15:39

it should see you should see it in the

play15:41

center right not sure why there is not

play15:44

the right alignment but for now we're

play15:46

going to use the center

play15:48

click on this icon here go on the

play15:50

advanced Tab and here on the responsive

play15:53

make sure hide on mobile

play15:57

and we also need to hide on tablet so

play16:01

make sure this is on hide on tablet is

play16:03

on perfect

play16:05

now let's click on the mobile version

play16:07

here on the top as you can see now we

play16:09

need to click on the container the first

play16:11

container make it full weight and then

play16:15

um we are going to set a percentage but

play16:18

first do this the same thing to the

play16:20

second container here so now every the

play16:22

both of them are full width and we can

play16:24

set them to be on the same line so click

play16:27

now this menu item Advanced uh

play16:30

responsive and make sure this is not

play16:33

hidden on mobile but hide it in the

play16:36

desktop version only

play16:39

like that so make sure this is on

play16:42

perfect

play16:44

so let's make sure this menu item here

play16:46

is hidden correctly so again click on it

play16:49

and go on Advanced responsive and make

play16:51

sure tablet and mobile is hidden now

play16:54

click on the first container and here

play16:57

select percentage and change it to make

play17:01

it fit on one line so first we will try

play17:05

with 50 select the second one percentage

play17:08

and again fifty percent okay so we need

play17:12

to play around here a little bit because

play17:13

it's a little bit complex so I'm trying

play17:15

to change the values here by selecting

play17:18

the first and the second container and

play17:20

as you can see now we have everything on

play17:22

the same line uh let me see the preview

play17:25

we have still some problems because

play17:27

looks like the content is too large and

play17:30

we are going to change a few things so

play17:32

first of all the the logo is too big so

play17:35

I'm going to click the logo and I'm

play17:37

going to figma to export only the icons

play17:40

on the mobile version I can show only

play17:42

the icon Xbox

play17:44

PNG and select you know

play17:47

the settings I'm going to export the

play17:50

logo mark

play17:52

back to Wordpress and I will be adding

play17:55

an image widget just drag and drop it

play17:58

here somewhere and go on the navigator

play18:00

to make sure it's uh in the correct

play18:03

order like this so now it's in the

play18:05

correct order I'm going to click on it

play18:06

and import my logo Mark select and now

play18:11

same thing we need to change the pixel

play18:14

sizing of this and make it a little bit

play18:16

smaller

play18:18

great I'm going to take the main logo

play18:21

and hide it on the mobile version right

play18:23

so hide it on the mobile version only

play18:26

and then we are going to select the new

play18:29

logo the logo Mark and hide it on

play18:32

um responsive on the desktop and tablet

play18:36

version okay so the preview will be this

play18:38

as you can see now make sure the logo

play18:41

has a link to the main site so click on

play18:44

the logo link custom URL

play18:48

and then click on Dynamic tag and site

play18:51

URL so that when you click on the logo

play18:53

here you get to the home page right

play18:55

perfect so select the second container

play18:58

and let's fix stuff here so as you can

play19:01

see we played around a little bit with

play19:02

the with the wheat and we still have

play19:05

problems the problem is the item inside

play19:07

of it so we are going to change the item

play19:09

inside of it and make them a little bit

play19:12

smaller again I'm trying you need to

play19:14

test here and as you can see this is a

play19:17

little it's already a lot smaller and um

play19:21

in this case we are going to reduce the

play19:24

buttons in it so click on the first

play19:25

button

play19:27

content

play19:29

Style

play19:30

and let's change the padding first right

play19:37

so I'm reducing the padding

play19:39

um on the top right left and bottom

play19:45

oops this is too much

play19:49

so you need to actually play around a

play19:51

lot with this

play19:52

to find the best sizing

play19:56

okay so once you've found it

play20:00

like this I'm going to remove for the

play20:03

second button here the login button the

play20:05

padding so add zero because there is no

play20:09

you know no padding needed so we save

play20:11

space

play20:14

going to click on the first container

play20:16

second container again playing with the

play20:19

width

play20:23

here is it

play20:26

okay and now with the container selected

play20:29

make sure the alignment is correct as

play20:33

you can see from the preview the

play20:34

alignment is not correct so container

play20:36

selected go on align items and Center it

play20:38

so now they are really nicely centered

play20:42

as you can see now everything is

play20:43

centered right so we had to play a lot

play20:46

to to you know to get to this result but

play20:48

I'm going to show you if you want

play20:50

Perfection how to actually make it work

play20:53

better because as you can see the

play20:56

percentage doesn't really make sense

play20:58

here because there is a lot of spacing

play21:00

on the elements so we are going to clean

play21:03

the space of the main container first so

play21:06

click on the main container advance and

play21:09

make sure there is no padding and here

play21:11

now it's better because we don't have

play21:14

padding of the main container we have

play21:16

more space for our

play21:17

container inside so now let me try to

play21:21

reduce this there is some default

play21:24

spacing still somewhere so click on the

play21:27

main container and go on layout and make

play21:31

zero gap between elements and now we are

play21:34

removing all the gaps okay we need to

play21:37

select the container now if I try to add

play21:40

80 and here I try to add 20 it's

play21:44

perfectly perfectly sorry fitting the

play21:48

header this problem you just got is

play21:51

because of the default spacing Elementor

play21:53

adds to all the containers so you need

play21:55

to clean them up like we just did so now

play21:58

you've got on tablet everything looked

play21:59

great on desktop everything looks great

play22:01

again tablet mobile you can switch

play22:04

between them and check it and looks

play22:06

really nice

play22:07

make sure you save the template and then

play22:10

select the main container advance and go

play22:13

on motion effect

play22:15

sticky and put it to the top update the

play22:18

template again make sure you have the

play22:21

container selected on style change the

play22:24

background color to white and update

play22:28

great now you can view exit and view the

play22:32

page so I'm going to do a test page I

play22:34

made and as you can see I cannot scroll

play22:37

much because I don't have enough content

play22:39

but as you can see

play22:41

um

play22:42

it's it's sticky right it's following

play22:44

you a problem that we are seeing right

play22:47

now is this look like the menu it's a

play22:51

little bit bugged so let's edit that

play22:53

again

play22:54

and select this container here change

play22:58

the weight okay of it like that

play23:02

um

play23:03

then we need to select this other one

play23:06

and make sure everything that is bigger

play23:09

than the right one right so here I'm

play23:11

going to add a 40 just to make things a

play23:14

little bit more clear and 60 percent and

play23:18

if I update and test this

play23:21

everything now will work correctly let's

play23:24

try it right away

play23:29

and here you go now it's working thanks

play23:31

a lot for watching this video and see

play23:34

you in the next one bye

Rate This

5.0 / 5 (0 votes)

関連タグ
Elementor TutorialResponsive DesignSticky HeaderFlexbox LayoutUI KitWeb DevelopmentUntitled UIMenu CreationWordPress ThemeDesign Tutorial
英語で要約が必要ですか?