1. zoki
  2. Commercial Templates
  3. Wednesday, 01 July 2015
  4.  Subscribe via email
Hi there

Im trying to shrink the width of my background image im using, but im not sure to find the css file containing the parameters for it...
I want it to stay responsive, but to have two white collums left and right, framing the background.
Thanks for any help in advance
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Zoki

By default the background image size of your template is set to 'cover'. This CSS property scales the background image to be as large as possible so that the background area is completely covered by the background image. To give the background image a fixed size which you can scale try adding the following to the Custom CSS field of your templates parameters where 100% is the image width scale (edit to taste)...


#body_bg {
background-size: auto 100% !important;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciarán

Thanks a lot for your help, its working well. Just to understand it a bit better,.. if i wouldnt use the custom css field, where exactly is this property set, i mean in which css file? would like to experiment a bit in general.

thank you again!
Zoki
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Zoki

The 'Custom CSS' field of your templates parameters adds the CSS inline in to the head of your template which ensures it is loaded after any of your CSS files giving it priority. If you wish to add the CSS to one of the existing CSS files then I would suggest adding it to the end of your templates nexus.css as this is loaded last.

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok