inherit
149534
0
Mar 24, 2024 21:57:30 GMT -8
Smudges
298
November 2009
reverse
|
Post by Smudges on Aug 4, 2014 18:30:15 GMT -8
VS Admin Wormopolis Brian Craig Tumbleweed or anyone Is it possible to have a overlay on the whole category like I have tried by doing it via css thinking it might be a category-## css code but i can not get it to work please if there is a way to do this point me in the right direction or let me know where i am going wrong. thanks in advance
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Aug 4, 2014 22:03:29 GMT -8
just one category?
|
|
inherit
149534
0
Mar 24, 2024 21:57:30 GMT -8
Smudges
298
November 2009
reverse
|
Post by Smudges on Aug 4, 2014 22:05:19 GMT -8
yes please worm as like in the pic i provided
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Aug 5, 2014 7:54:28 GMT -8
put into main footer
<script type="text/javascript"> $('a[name="category-3"]').next().each(function(){ $(this).append($('<div></div>').css({ 'background-color':'#000000', 'opacity':'.5', 'top':'0px', 'left':'0px', 'height':$(this).height(), 'width':$(this).width(), 'position':'absolute', 'text-align':'center' }).append($('<font size="6" color="#FF0000">Staff Only!</font>').css({ 'position':'absolute', 'top':'50%' }))).css('position','relative'); }); </script>
change the category number to whatever your category is
|
|
inherit
149534
0
Mar 24, 2024 21:57:30 GMT -8
Smudges
298
November 2009
reverse
|
Post by Smudges on Aug 5, 2014 14:05:30 GMT -8
thanks worm that did the trick
|
|
inherit
149534
0
Mar 24, 2024 21:57:30 GMT -8
Smudges
298
November 2009
reverse
|
Post by Smudges on Aug 15, 2014 15:53:27 GMT -8
Wormopolis1 question about above js code i tried to implement this into it and it does work did i do it wrong, if so can you help please #category-10.category_block{ position: relative; -webkit-filter: grayscale(100%); filter: url("filter.svg#gray"); } #category-10:after{ content: "Customers Only"; background: url("transw70.png") repeat; background: rgba(255,255,255,0.7); position: absolute; top: 0; left: 0; right: 0; bottom: 0; font-size: 30px; line-height: 310px; text-align: center; z-index: 10; cursor: normal; }
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Aug 18, 2014 8:59:46 GMT -8
Well what is there looks like a completely different method then what I put. I thought you stated the JavaScript worked?
|
|
inherit
149534
0
Mar 24, 2024 21:57:30 GMT -8
Smudges
298
November 2009
reverse
|
Post by Smudges on Aug 18, 2014 18:02:20 GMT -8
the above does work but i was hoping to expand on the css side of it
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Aug 19, 2014 0:35:06 GMT -8
None of the categories ever get a class name of blocked, so your CSS will never get applied. If you want to change the CSS, just modify what is shown in the script
|
|