Results 1 to 6 of 6
Thread: question about .qss code
-
15-10-2011, 15:53 #1
-= TeamSpeak User =-
- Join Date
- Oct 2011
- Posts
- 4
question about .qss code
My first time designing a theme, wanted to know if it possible to have 2 images in the top position of the theme. I have one image which is the background of the whole theme, which is only 5 pixels in height and set to repeat, i also have another image with a transparent background that i would like to put in the top right of the theme. I have tried adding both lines of code into the .qss but it only uses one. Is this possible to do?
Here is what i currently have thats not working
QMainWindow {
background-image: url('Styles/ArmoredFist/Images/back-bg.png');
background-position: top right;
background-repeat:repeat-y;
background-attachment:fixed;
background-color: #000000;
color: #ffffff;
}
background-image: url('Styles/ArmoredFist/Images/top.png');
background-position: top right;
background-repeat:repeat-x;
background-attachment:fixed;
background-color: #000000;
color: #ffffff;
Thanks in advance for anyhelp
-
15-10-2011, 18:05 #2
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Netherlands
- Posts
- 128
Try and use the following (You probably need to adjust it a bit, but here you go). The image doesn't repeat however, so you just need to put this image together yourself and make it something like 1920pxs wide.
Code:QMainWindow { background-image: url('Styles/ArmoredFist/Images/back-bg.png'); background-position: top right; background-repeat: repeat-y; background-color: black; image: url'(Styles/ArmoredFirst/Images/top.png'); image-position: top right; color: #ffffff; }
-
15-10-2011, 18:18 #3
-= TeamSpeak User =-
- Join Date
- Oct 2011
- Posts
- 4
Thanks for the reply, that unfortunately just makes the whole background black and looses the original background image and the other image doesnt show up at all
-
16-10-2011, 00:21 #4
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Netherlands
- Posts
- 128
try that instead, I misplace an apostrophe, causing the entire skin to mess up. It should work like that, anyway, you can try messing around yourself a bit also, at least you know that you can use the Image property to use another image.Code:QMainWindow { background-image: url('Styles/ArmoredFist/Images/back-bg.png'); background-position: top right; background-repeat: repeat-y; background-color: black; image: url('Styles/ArmoredFist/Images/top.png'); image-position: top right; color: #ffffff; }
edit: another typo in the code
-
16-10-2011, 21:56 #5
-= TeamSpeak User =-
- Join Date
- Oct 2011
- Posts
- 4
I ended up photoshopping it all together, looks fine now, but now my issue is when we use channel commander and whisper to each other, the box thats popping up has bad ghosting on it, and i cant find that section in the .qss file, any suggestions?
-
17-10-2011, 19:37 #6
-= TeamSpeak Addict =-
- Join Date
- Dec 2009
- Location
- Netherlands
- Posts
- 128
Turning of the box
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Question about class/code GPL V3 License
By Chloe in forum General QuestionsReplies: 3Last Post: 19-06-2011, 18:00 -
BB Code
By rebz01 in forum General QuestionsReplies: 2Last Post: 17-11-2010, 02:02 -
[Bug] BB-Code
By x!sign.dll in forum General QuestionsReplies: 4Last Post: 25-12-2009, 19:53 -
IFRAME code question
By karimali831 in forum Suggestions and FeedbackReplies: 2Last Post: 22-12-2009, 02:11


Reply With Quote