-
AuthorPosts
-
March 10, 2012 at 9:56 pm #174849
my template is ja kranos, my website is forum.destinationsound.net
with firebug i am able to put a box shadow on each position individually, but it doesnt looks right and the shadows overlap on eachother. is there a way to create a new position or a div in the code that i can apply a box shadow to? also is it possible to then have it span the whole length of the site and expand and contract in length, depending on how many modules i have turned on?
i am new to all of this i hope my question makes sense
pixelzombie Friendpixelzombie
- Join date:
- August 2010
- Posts:
- 339
- Downloads:
- 2
- Uploads:
- 49
- Thanks:
- 32
- Thanked:
- 168 times in 107 posts
March 13, 2012 at 1:15 pm #443442Hi there,
what exact elements should get a box-shadow? Right now the whole site has a drop shadow applied. You’re right about the overlapping, that’s normal because this is the way css works. Please provide some detail 🙂
Thanks in advance!
Frank
March 13, 2012 at 5:38 pm #443472Since my original post I figured out a “bootleg” way to do it. I changed the CSS for every position in the template.css file. I had to move each shadow up about 40px. To make up for the missing shadow on the bottom, I moved up the footer shadows to fill in the blank. I would rather have one full layer of box-shadow under the whole site, rather than the way it is now.
Also, when updating to the next joomla release, will all of these changes be erased?
I hope this is more detail
Thanks!
pixelzombie Friendpixelzombie
- Join date:
- August 2010
- Posts:
- 339
- Downloads:
- 2
- Uploads:
- 49
- Thanks:
- 32
- Thanked:
- 168 times in 107 posts
March 16, 2012 at 8:36 am #443947To put a box-shadow arround the whole site, you’ll have to change the whole layout of your template via the default.php file within your templates folder page. I’m pretty shure that it does not exist yet. You can copy it from
/plugins/system/jat3/jat3/base-themes/default/page/default.php
to
/templates/your_template/page/default.php
I don’t know how familiar you are with php, but the way the site is displayed is all in there. You’ll have to sourround every element by a new wrapper. I wrote an answer about the exact same issue here at the forums. I’ll let you know as soon as I find it 😉
If you update the joomla core, no template files will be removed if you stay inside your template folder.
Cheers
Frank
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
March 18, 2012 at 12:28 pm #444309<em>@pixelzombie 307879 wrote:</em><blockquote>To put a box-shadow arround the whole site, you’ll have to change the whole layout of your template via the default.php file within your templates folder page. I’m pretty shure that it does not exist yet. You can copy it from
/plugins/system/jat3/jat3/base-themes/default/page/default.php
to
/templates/your_template/page/default.php
I don’t know how familiar you are with php, but the way the site is displayed is all in there. You’ll have to sourround every element by a new wrapper. I wrote an answer about the exact same issue here at the forums. I’ll let you know as soon as I find it 😉
If you update the joomla core, no template files will be removed if you stay inside your template folder.
Cheers
Frank</blockquote>
I can’t even spell php but if and when you find this Frank, I’d be interested too. (to lift my Orisite out of flat 2D look)
Gruss
pixelzombie Friendpixelzombie
- Join date:
- August 2010
- Posts:
- 339
- Downloads:
- 2
- Uploads:
- 49
- Thanks:
- 32
- Thanked:
- 168 times in 107 posts
March 19, 2012 at 12:11 pm #444507Okay, I’ve found the old post here: http://www.joomlart.com/forums/topic/how-to-get-mainnav-inside-ja-container/#post-423551
I describe how to put the mainnav into the ja-container (which will have the box-shadow applied). If you look at it and learn how it’s done, you may be able to adopt this for every other block too. Basically you’ll need to get everything that should be surrounded by a box-shadow, inside ja-container.If you need further advice, please let me know. Note: be carefull, you can really mess up your site with this customization :p
1 user says Thank You to pixelzombie for this useful post
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
March 19, 2012 at 12:33 pm #444514As ever Frank, you are a gentleman
I’ll have a go at getting it wrong. :-[ Isn’t that the right way to learn? On a dev site obviously……:p
Unless it is going to be much easier to add an image to run down the sides of the site – something I’ve also not done before.
I’ll take your recommendation……. 😉
Bestens
-
AuthorPosts
This topic contains 7 replies, has 3 voices, and was last updated by swissa 12 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum