-
AuthorPosts
-
January 29, 2013 at 6:04 pm #184487
Hi,
I want to set my background image to be fixed on the bottom right corner. I tried to customize in custom.css but it didn’t work. Where would i need to edit it in?
-Ahri
synapsis Friendsynapsis
- Join date:
- April 2007
- Posts:
- 234
- Downloads:
- 18
- Uploads:
- 28
- Thanks:
- 58
- Thanked:
- 19 times in 1 posts
January 29, 2013 at 8:16 pm #481563Ahri,
I did something similar with the following in my custom.css that worked just fine:
body {
background: #ffffff url('http://yourdomain.com/images/background.jpg') no-repeat fixed bottom right;
}If that doesn’t work for you, it’s possibly a caching problem? The whole building in LESS then compiling to CSS thing is new for a lot of people, myself included, but custom.css should get added last no matter what, so your body background should get set by making the change there.
1 user says Thank You to synapsis for this useful post
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 30, 2013 at 8:28 pm #481748Thank you for your help. That’s exactly what I did and it worked.
January 30, 2013 at 8:32 pm #481750Hi,
I got the image to work the way I wanted, but I’m having issues with changing the block color for the search bar. I am currently working on two sites, and I was able to change the colors on one of the site but not the second one, even though I used the same code and put it in custom.css
Here’s the code I’m using, please let me know if I’m doing something wrong
.head-search .input {
background: no-repeat 210px 8px transparent;
border-color: #CC9E4E
color: #transparent
}Thank you!
-Ahri
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 31, 2013 at 4:50 am #481787<em>@sweitz3 357799 wrote:</em><blockquote>
.head-search .input {
background: no-repeat 210px 8px transparent;
border-color: #CC9E4E
color: #transparent
}
</blockquote>Hi Ahri,
There is wrong code in your script:
border-color: #CC9E4E: missed ; on end of line
color: #transparent: wrong formatThis is right way
.head-search .input {
background: no-repeat 210px 8px transparent;
border-color: #CC9E4E;
color: transparent;
}Regards
January 31, 2013 at 2:55 pm #481873Hi,
I put the right code in there and it still didn’t change the color.clrmedia Friendclrmedia
- Join date:
- October 2007
- Posts:
- 102
- Downloads:
- 18
- Uploads:
- 8
- Thanks:
- 17
- Thanked:
- 11 times in 1 posts
January 31, 2013 at 6:36 pm #481884Did you add the semi-colons to your last two lines as shown in Ninja Lead’s code?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
February 1, 2013 at 8:31 am #481965<em>@sweitz3 357958 wrote:</em><blockquote>Hi,
I put the right code in there and it still didn’t change the color.</blockquote>I guess you have not cleared cache from Admin after changing the settings. Anyways, I would need to take a closer look at your site, please send me URL on your site here. I shall check it for you.
-
AuthorPosts
This topic contains 9 replies, has 4 voices, and was last updated by Ninja Lead 11 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum