End of Support for Joomla 3 - Forum closed

[SOLVED] Header background different from body background

Header background different from body background was created by tstoneman

Posted 9 years 8 months ago #7307
I am trying to make the header background, not just the logo area background, different from the body background. I've tried adding the background-image tag to jp-header in the custom.css file, but that doesn't seem to work. In this case, I want to use the included fabric image in the header, but a custom background in the body. Here is a snip of the Header section I've copied to the custom.css file.

/* Header
========================================================================== */
.jp-header {
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
background-position: center center;
background-image: url("../../../images/body-bg/fabric.png");
background-repeat: repeat;
}
.tm-headerbar .tm-logo {
float: none!important;
margin: 0 auto;
}

Thanks ..

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Header background different from body background

Posted 9 years 8 months ago #7309
Live url please and check the image path to your background image.

Please Log in or Create an account to join the conversation.

Replied by tstoneman on topic Header background different from body background

Posted 9 years 7 months ago #7311
www.turnkeyrisk.com/dev

I turned off the body background image and uploaded the fabric.png file into the media content. I then verified the image path was correct in the custom.css file.

Please Log in or Create an account to join the conversation.

Replied by joomlaplates on topic Header background different from body background

Posted 9 years 7 months ago #7313
Please check the image path, it could not be found. See image attached.
We are committed to help you with any type of support query, however we can't provide extensive help in terms of customizations. In general customizations may look simple but you will require solid knowledge of web technologies and programming skills to do them or hire a professional who can do it for you.

Attachment image.jpg not found

Attachments:

Please Log in or Create an account to join the conversation.

Replied by tstoneman on topic Header background different from body background

Posted 9 years 7 months ago #7314
Thank you. I wanted to use a relative path for the image because we will be moving the site from the dev directory to the root directory once it is ready. I used an absolute path for the image and that worked. Then I just had to work back from the custom.css file location to build the relative path. Thanks for your assistance.

On another thought. I love the JoomlaPlates templates, but I find myself spending hours trying to locate the one css tag which makes the adjustments I need. Sometimes one can do that in the Warp style editor. Other times it is not in the style editor, and has to be added to the custom.css file. Earlier I thought changing the footer background color would be a simple mod in the Warp style editor. But it is not there. I had to find it in the theme.css file (which is over 8000 lines) and copy the change to the custom.css file. Some level of documentation with a template to explain the common tags and where they can be found would be a big help. What is the thought process as to what can be edited by the style editor vs custom.css entries? Most of the time, all I need to change is colors and paddings. Finding the css tag to accomplish that can be quite frustrating, even when using the Firefox developer tools to highlight the appropriate areas.

Thank you again for your help.

Please Log in or Create an account to join the conversation.

Replied by tstoneman on topic [SOLVED] Header background different from body background

Posted 9 years 7 months ago #7315
Problem solved.

Please Log in or Create an account to join the conversation.

Moderators: joomlaplates

Installations-Service

Don´t waste your time, we install your purchased Template
with the "Demo Content" within the next 24 hours.

Buy Now - 59€

Joomlaplates/Theme-Point is not affiliated with or endorsed by Open Source Matters or the Joomla! Project

Copyright © 2024 JoomlaPlates | Professional Joomla Templates with Uikit 3

Disclaimer & Privacy | License