Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

center image

Featured Lock Resolved Issue
hi,

tried many things but it doesn't work. I would like to center the image ( url('../images/resort-title-heading.png') ). I changed the image before, so it is not the default one. I can not do it. Can you help me?

7 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Add this css code inside on your custom.css file.


.resort-title-heading .sppb-section-title::after {
content: '';
position: absolute;
top: -50px;
left: 50%;
transform: translate(-50%);
-webkit-transform: translate(-50%);
width: 240px;
height: 40px;
background-image: url(../images/resort-title-heading.png);
background-repeat: no-repeat;
background-size: contain;
-webkit-background-size: contain;
}


-Thanks

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Please share your site URL & let me check.

-Thanks

Paul Frankowski - Staff

More than a month ago #Permalink
Hi Jan,
can you tell us which image is it ? a building, a logo ??
I do not see it on homepage.
maybe it's on subpage ?

Jan

More than a month ago #Permalink
Hi,

its the /images/resort-title-heading.png image ( the image over or under the lettering Hotel Anklamer Hof )

Paul Frankowski - Staff

More than a month ago #Permalink
use:

.resort-slider .resort-slider-content h1::before {width: 340px;}


in custom.css file.


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Leaderboard (30 days)

Sifat

Sifat

Total Accepted Answers: 125
Paul Frankowski

Paul Frankowski

Total Accepted Answers: 117
Toufiq

Toufiq

Total Accepted Answers: 62
Pavel

Pavel

Total Accepted Answers: 5
Peter Atkin

Peter Atkin

Total Accepted Answers: 2

100+

Templates

200,000+

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us