Forum:Using "banner-corner" triangles

There's little triangles underneath WikiaHeader on the left and on the right. How can I place those triangles underneath WikiaPageHeader? Actually I need to place only left one. --Das steinerne Her z 20:12, August 2, 2012 (UTC)

Add this to MediaWiki:Wikia.css and it should do it. You need to find out the height of #WikiaPageHeader and set the px value correctly. If you want to set the position automatically, you'll probably have to use JavaScript instead but that won't work for people with JS turned off. Lunarity 15:05, August 3, 2012 (UTC)
 * Thanks! Yes, I'd rather need JavaScript code, may be you could help. In fact I don't want to move initial triangles but insert a new one, so WikiaPageHeader will look like WikiaHeader - a bit wider than main block, like a girdle. Is there a possibility to insert an additional triangle exactly beneath WikiPageHeader using JS? Thanks for any suggestions. --Das steinerne Her z 12:47, August 4, 2012 (UTC)

You can definitely clone the banner corners, here's an approximate solution. You may need to change the parts where it says 'left: 0' and 'css.right = 0;' to be whatever offset you need (e.g.  to move the left side more left). Lunarity 18:16, August 4, 2012 (UTC)


 * If you get it to work, I'd be really curious to see the result. This seems lie an awful lot of work for a couple of triangles :) -- 19:03, August 4, 2012 (UTC)