Jump to content

Image above all posts


igeoorge
Go to solution Solved by Happy2Play,

Recommended Posts

Happy2Play

If you want to put the Image in the \system\dashboard-ui\css\images folder with every update you could do this.

#homeTab:before {
    content: url(../web/css/images/yourimage.jpg);
    padding-left: 22%;
}

Or if the image is hosted somewhere (the online image for your example)

#homeTab:before {content: url(https://q-ec.bstatic.com/images/hotel/max1024x768/352/35226231.jpg);
padding-left: 22%;}

Obviously the padding will need adjusted according to the actual image.

  • Like 1
Link to comment
Share on other sites

  • Solution
Happy2Play

Update

#homeTab:before {
    content: '';
    background: url(https://q-ec.bstatic.com/images/hotel/max1024x768/352/35226231.jpg) no-repeat center;
    height: 100em;
    display: block;
    background-size: cover;
}

or

#homeTab:before {
    content: '';
    background: url(../web/css/images/yourimage.jpg) no-repeat center;
    height: 100em;
    display: block;
    background-size: cover;
}

You can add margins if you don't want the image to go to the edges, add within the code above.

margin-left: 10px;
margin-right: 10px;

Edited by Happy2Play
  • Like 1
Link to comment
Share on other sites

EODCrafter

Friends, how can I put an image above all the content as in the example?

 

5c7c9ce20070e_sssdsdsd.png

 

Where is your Hotel? Looks Tropical!

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...