Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

leansti's avatar

Blade layout problem

Hi, am new to laravel and i have this problem:

https://ibb.co/bJJF4DV

code: http://www.yourfilelink.com/get.php?fid=2062102

When i add content in the basic blade layout,in welcome.blade, the elements of my page offset from the top of the page. (see image). Sory for my english! thankyou !!

0 likes
6 replies
Snapey's avatar

its probably just imbalanced divs

impossible to help from a picture though

1 like
diegoaurino's avatar
Level 39

Hello, @leansti !

Are you just appending your HTML code on the default welcome.blade.php file? If so, note that it includes a div with the following classes: flex-center position-ref full-height. This div is wrapping other divs. Also, look at the style tag inside the head. You need to customize it.

Hope this helps. Let me know.

1 like
leansti's avatar

@SNAPEY - hi Snapey, i just created a new project and added the content. how can i show you the code? thankyou forehand

Please or to participate in this conversation.