- This topic has 22 replies, 8 voices, and was last updated 4 years, 4 months ago by Leo.
-
AuthorPosts
-
July 26, 2016 at 9:10 am #213084KENNETH
oh dear.. sound serious.
URI : TextArea
48 Parse Error }sorry i have no web programming background. Im learning on my own.
here is my custom css.
.inside-article {
background-color: rgba(255,255,255,0.8) !important;
}.inside-header {
background-color: rgba(255,255,255,0) !important;
}.site-header {
background-color: rgba(255,255,255,0.8) !important;
}.sidebar .widget {
border: solid 3px #eed713;
border-radius: 8px;
}#text-10.widget {
background-color: rgba(255,255,255,0) !important;;
border: none;}
.entry-title {
padding-left: 18px;
padding-top: 18px;}
.concerns {
background-color: white;
border-radius: 25px;
padding: 8px;
margin-left: 17px;
margin-right: 17px;
}.inside-header {
padding-top: 20px;
padding-bottom: 20px;}
}
body {
background-image: url( ‘http://officeforrent.sg/wp-content/uploads/2016/03/img_7659-copy.jpg’ );
background-size: cover;
}.frontpage-header {
margin: -8px;
margin-top: 0;
padding-right: 16px;
width: 940px;
}.we-can-help td {
vertical-align: top;
}July 26, 2016 at 9:11 am #213085TomLead DeveloperLead DeveloperThere’s the problem, the extra }:
.inside-header { padding-top: 20px; padding-bottom: 20px; } } body { background-image: url( ‘http://officeforrent.sg/wp-content/uploads/2016/03/img_7659-copy.jpg’ ); background-size: cover; }
The
}
abovebody
needs to be removed.June 9, 2017 at 8:20 am #331083RichardI am trying to add a background image to a “container” on top of the body background. But it is not showing up. I followed the instructions to add
to the Before Header hook and a closingto wp_footer hoot and to add to my themes css
.full-container {
background-image: url(http://blog.exposedtattoo.com/wp-content/uploads/2017/06/bg.png) top center no-repeat;
}Here is the site (in progress) http://blog.exposedtattoo.com/
When I examine the page using “Inspect Element” in Firefox, the css I added is struck through.
Here is what I hope it will eventually look like http://www.exposedtattoo.com/about-tattoo-studio-northern-virginia.phpThanks,
June 9, 2017 at 8:33 am #331092LeoStaffCustomer SupportThere are syntax errors in that CSS. Try this:
.full-container { background-image: url(http://blog.exposedtattoo.com/wp-content/uploads/2017/06/bg.png); background-position: top center; background-repeat: no-repeat; }
And make sure you add the CSS using one of these methods here: https://docs.generatepress.com/article/adding-css/
June 9, 2017 at 8:37 am #331096RichardThat worked! Thanks for the quick reply.
GeneratePress and the support are both great!June 9, 2017 at 8:38 am #331097LeoStaffCustomer SupportNo problem! Glad you are enjoying it 🙂
November 30, 2019 at 4:36 pm #1087070Jorge MarioHi Tom.
I read this post, and tried the solutions that you gave, but my site does not accept the background image.
I´m using elementor pro, I Added a custom CSS in two differents ways:First this one:
.full-container {
background-image: url( “http://mlmconstruccion.com/WP/wp-content/uploads/2019/11/bg-site.jpg” );
position: absolute;
left: 20%;}
Then this:
body {
background-image: url( “http://mlmconstruccion.com/WP/wp-content/uploads/2019/11/bg-site.jpg” );
background-size: cover;
}November 30, 2019 at 5:45 pm #1087110LeoStaffCustomer SupportAny chance you can open a new topic for your question?
This one is really old with multiple authors already.
Thanks!
-
AuthorPosts
- The topic ‘Background Image Full Page’ is closed to new replies.