Jump to content

Photo

Custom Theme


  • Please log in to reply
21 replies to this topic

#1 Yahtzeee

Yahtzeee

    Member

  • New Members
  • PipPip
  • 63 posts

Posted 14 August 2013 - 10:38

firstly..english is no my native language..so forgive me for any grammar mistake..
soo..back to the topic..i have customize the old FS theme and is almost ready, but I have some problems regarding with the "Inventory slot" as you can see on the picture below
i want to change it based on the theme colour but i cant find the code for it :(
anyone know where is it located ?

 

Untitled_zpsb0541a6b.jpg


SIG_zps793f2afa.jpg

Sig made by me XD


#2 lerijs13

lerijs13

    Member

  • Members
  • PipPip
  • 73 posts

Posted 14 August 2013 - 11:01

use something like this:

table.inventory-table td
{
  background: darkblue !important;
}


#3 Yahtzeee

Yahtzeee

    Member

  • New Members
  • PipPip
  • 63 posts

Posted 14 August 2013 - 11:13

almost..but what i want to change was the slot itself..not the slot background
so it will look like this
2x2_zpsc9caea2d.gif

btw..thank for helping :)


SIG_zps793f2afa.jpg

Sig made by me XD


#4 lerijs13

lerijs13

    Member

  • Members
  • PipPip
  • 73 posts

Posted 14 August 2013 - 13:58

How do you wanna change it then ? 



#5 Yahtzeee

Yahtzeee

    Member

  • New Members
  • PipPip
  • 63 posts

Posted 14 August 2013 - 14:28

that what i want to know T_T
but..i reedit those code that i give me before..almost got it right 

Untitled-1_zpsb57273bd.jpg

 

table.inventory-table td
{
background-image: url('http://imageurl.gif');
}

SIG_zps793f2afa.jpg

Sig made by me XD


#6 lerijs13

lerijs13

    Member

  • Members
  • PipPip
  • 73 posts

Posted 14 August 2013 - 15:17

edit the picture and show me what u want to achieve, i`ll help you. 



#7 koenvdv

koenvdv

    Veteran

  • Members
  • PipPipPip
  • 1,327 posts
  • Badge
  • Belgium

Posted 14 August 2013 - 23:22

Would it work if u change this from CSS:

.inventory-item-slot
{
	background: url('http://fileserver.huntedcow.com/inventory/1x1.gif');
    display: inline-block;
}


#8 Anonemesis

Anonemesis

    Member

  • Members
  • PipPip
  • 411 posts
  • Badge
  • United States of America

Posted 16 August 2013 - 02:02

 

Would it work if u change this from CSS:

.inventory-item-slot
{
	background: url('http://fileserver.huntedcow.com/inventory/1x1.gif');
    display: inline-block;
}

Nope

table.inventory-table td
{
background-image: url('http://imageurl.gif');
}

lacks spacing and boundries so it repeats and scrunchs together


Hate It Or Love It The Underdogs On Top. 


#9 Yahtzeee

Yahtzeee

    Member

  • New Members
  • PipPip
  • 63 posts

Posted 16 August 2013 - 05:21

edit the picture and show me what u want to achieve, i`ll help you. 

Untitled-3_zps8b87021a.jpg

that what i want to achieve..to make only the slot background to change..


SIG_zps793f2afa.jpg

Sig made by me XD


#10 Anonemesis

Anonemesis

    Member

  • Members
  • PipPip
  • 411 posts
  • Badge
  • United States of America

Posted 16 August 2013 - 19:18

Untitled-3_zps8b87021a.jpg

that what i want to achieve..to make only the slot background to change..

 

 

I do themes for points on here myself, I asked the dev's this in a support ticket as some things can't be changed like the Fallensword Logo...only masked with  a image which is what the code previously did except it had no boundries so it just kept repeating, anyone finds this out that'd be great =P


Hate It Or Love It The Underdogs On Top. 


#11 lerijs13

lerijs13

    Member

  • Members
  • PipPip
  • 73 posts

Posted 16 August 2013 - 22:03

Use this:

table.inventory-table > tbody > tr > td[align=center] td
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) no-repeat;
}

table.inventory-table > tbody > tr > td:not([align])
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) repeat;
}



#12 Anonemesis

Anonemesis

    Member

  • Members
  • PipPip
  • 411 posts
  • Badge
  • United States of America

Posted 16 August 2013 - 22:16

 

Use this:

table.inventory-table > tbody > tr > td[align=center] td
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) no-repeat;
}

table.inventory-table > tbody > tr > td:not([align])
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) repeat;
}

Works perfect except

 

http://img577.images...7/6326/xqeg.png

 

The backpack icons have slot icons behind them, and components slots are still messed up

 

also

 

http://img856.images...6/7570/jayp.png

if you only have one row of backpack space it will be messed up as well


Hate It Or Love It The Underdogs On Top. 


#13 lerijs13

lerijs13

    Member

  • Members
  • PipPip
  • 73 posts

Posted 17 August 2013 - 09:50

Ok, this code is only for the worn items:

div#profileRightColumn > div > div > table.inventory-table > tbody > tr > td[align=center] td
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) no-repeat;
}

div#profileRightColumn > div > div > table.inventory-table > tbody > tr > td:not([align])
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) repeat;
}


#14 koenvdv

koenvdv

    Veteran

  • Members
  • PipPipPip
  • 1,327 posts
  • Badge
  • Belgium

Posted 17 August 2013 - 11:33

Cool ... could u share the complete theme once it's finished? Then I could use that as base to make one myself if I find the time ^^



#15 Yahtzeee

Yahtzeee

    Member

  • New Members
  • PipPip
  • 63 posts

Posted 17 August 2013 - 12:12

damn..ur good :D !
already solve my prob..thank you soo much !


SIG_zps793f2afa.jpg

Sig made by me XD


#16 lerijs13

lerijs13

    Member

  • Members
  • PipPip
  • 73 posts

Posted 17 August 2013 - 12:23

Your welcome.. I am a WEB developer, so if you need any more help - just message me. :) 



#17 lerijs13

lerijs13

    Member

  • Members
  • PipPip
  • 73 posts

Posted 18 August 2013 - 12:55

here you go, guys! :) 

/**
* Inventory CSS by Lerijs13
*/
/* Worn rune, amulet and Ring slot */
div#profileRightColumn > div > div > table.inventory-table > tbody > tr > td[align=center] td
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) no-repeat;
}

/* rest of worn item slots */
div#profileRightColumn > div > div > table.inventory-table > tbody > tr > td:not([align])
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) repeat;
}

/* backpack item slots */
div#profileRightColumn > form > div > table.inventory-table > tbody > tr > td[width]
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) repeat;
}

/* component slots */
div#profileRightColumn > div > table.inventory-table > tbody > tr > td:not([valign])[width]
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) repeat;
}


#18 Anonemesis

Anonemesis

    Member

  • Members
  • PipPip
  • 411 posts
  • Badge
  • United States of America

Posted 18 August 2013 - 19:26

 

here you go, guys! :)

/**
* Inventory CSS by Lerijs13
*/
/* Worn rune, amulet and Ring slot */
div#profileRightColumn > div > div > table.inventory-table > tbody > tr > td[align=center] td
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) no-repeat;
}

/* rest of worn item slots */
div#profileRightColumn > div > div > table.inventory-table > tbody > tr > td:not([align])
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) repeat;
}

/* backpack item slots */
div#profileRightColumn > form > div > table.inventory-table > tbody > tr > td[width]
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) repeat;
}

/* component slots */
div#profileRightColumn > div > table.inventory-table > tbody > tr > td:not([valign])[width]
{
  background: url(http://i1276.photobucket.com/albums/y462/Shahrul_Jebat/2x2_zpsc9caea2d.gif) repeat;
}

Very Nice Work Gotta Give Credit Where It's Due

 

Note that components are 20x20 not 30x30 so you'll have to shrink your image down accordingly in order to get it to fit properly, I'd suggest people use 1x1 images to make the process quicker if your using a image that mirrors itself

 

luho.jpg


Hate It Or Love It The Underdogs On Top. 


#19 koenvdv

koenvdv

    Veteran

  • Members
  • PipPipPip
  • 1,327 posts
  • Badge
  • Belgium

Posted 20 August 2013 - 23:38

Finaly found out what this does:

.inventory-item-slot
{
	background: url('http://rs.wow-goldstore.com/images/other/logo-icon.png');
    display: inline-block;
}

It changes the guild store slots  ;)



#20 Anonemesis

Anonemesis

    Member

  • Members
  • PipPip
  • 411 posts
  • Badge
  • United States of America

Posted 26 August 2013 - 11:27

Finaly found out what this does:

.inventory-item-slot
{
	background: url('http://rs.wow-goldstore.com/images/other/logo-icon.png');
    display: inline-block;
}

It changes the guild store slots  ;)

NiiCe


Hate It Or Love It The Underdogs On Top. 



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Font:
Arial | Calibri | Lucida Console | Verdana
 
Font Size:
9px | 10px | 11px | 12px | 10pt | 12pt
 
Color: