-
AuthorPosts
-
kcdesi Friend
kcdesi
- Join date:
- September 2007
- Posts:
- 62
- Downloads:
- 9
- Uploads:
- 5
- Thanks:
- 11
- Thanked:
- 3 times in 1 posts
January 6, 2012 at 5:02 pm #172503I created a couple of modules at the top and bottom to include some banners I have. These are brand new module positions and they do work. How do I set the background for these now? If I change the background of the template, I’m seeing these modules getting the new background instead of white that the rest of the blocks are in.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 6, 2012 at 5:10 pm #432804<em>@kcdesi 293263 wrote:</em><blockquote>I created a couple of modules at the top and bottom to include some banners I have. These are brand new module positions and they do work. How do I set the background for these now? If I change the background of the template, I’m seeing these modules getting the new background instead of white that the rest of the blocks are in.</blockquote>
IN order to try to best assist you, please provide the url of the site you’re working on – as well as set “Optimize CSS’ to “No” within your Template Manager–General Settings. Also, please identify the new modules you created – so that I can advise you as to how to modify the background(s) accordingly.kcdesi Friendkcdesi
- Join date:
- September 2007
- Posts:
- 62
- Downloads:
- 9
- Uploads:
- 5
- Thanks:
- 11
- Thanked:
- 3 times in 1 posts
January 6, 2012 at 5:19 pm #432809Sent you the details. thank you for prompt response.
kcdesi Friendkcdesi
- Join date:
- September 2007
- Posts:
- 62
- Downloads:
- 9
- Uploads:
- 5
- Thanks:
- 11
- Thanked:
- 3 times in 1 posts
January 9, 2012 at 3:12 am #433053Really? Two days and there is no way to tell me what simple CSS I can put in when I create a new module position. I think that’s hard to digest for me. It should be very simple.
<em>@kcdesi 293271 wrote:</em><blockquote>Sent you the details. thank you for prompt response.</blockquote>
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 9, 2012 at 4:36 am #433062<em>@kcdesi 293618 wrote:</em><blockquote>Really? Two days and there is no way to tell me what simple CSS I can put in when I create a new module position. I think that’s hard to digest for me. It should be very simple.</blockquote>
If it were so “simple,” then why are you casting stones and having a “hard time digesting?”
I apologize that, for the first time in four months, I took a little bit of personal time over the weekend.The fact of the matter is that you have a VERY different custom site administration configuration that is somewhat difficult to navigate (f other than, perhaps, yourself, that is). Also, it appears that you have added quite a few additional modules – some of which come with their own respective CSS files.
What color are you wanting the background of the modules you created to be (the modules with the banner images, correct)?
kcdesi Friendkcdesi
- Join date:
- September 2007
- Posts:
- 62
- Downloads:
- 9
- Uploads:
- 5
- Thanks:
- 11
- Thanked:
- 3 times in 1 posts
January 9, 2012 at 5:02 am #433067Tom, I’m sorry to encroach your weekend time, I did not expect ‘you’ to be the only one on the team. Anyways, the backend administration is just an admin template. I added three modules to my teline_iv template, adbar, slideshow, and slideshow1 template. I just need to add suitable css code – probably to template.css file. My problem was I did and I did not find it. I just wanted them to have a #000 background. I added the following to template.css in the ja_teline_ivcsstemplate.css
.ja-adbar { background: #000; border: 1px solid #ccc; margin: 2px; padding: 0; }
This is not helping at all.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 9, 2012 at 5:34 am #433071Try this . . . .
Open file –> /new/plugins/system/jat3/base-themes/default/css/addon.css
at line 63, add “background: #000” – so that it will appear as such:
<blockquote>table {
background: none repeat scroll 0 0 #000000;
border-collapse: collapse;
border-spacing: 0;
empty-cells: show;}
</blockquote>
Is that closer to the result you were looking for?
kcdesi Friendkcdesi
- Join date:
- September 2007
- Posts:
- 62
- Downloads:
- 9
- Uploads:
- 5
- Thanks:
- 11
- Thanked:
- 3 times in 1 posts
January 9, 2012 at 5:51 am #433072Thank you. That did work. But what you are doing is adding the background to the table tag. That will force me to have a table in the modules I ever will have in the adbar position. What I am looking for is where do I change the background for, say content-top module as of now. It has white, I want to ahve something else there. What should I modify? (This should help me create a similar structure for the adbar module position.)
kcdesi Friendkcdesi
- Join date:
- September 2007
- Posts:
- 62
- Downloads:
- 9
- Uploads:
- 5
- Thanks:
- 11
- Thanked:
- 3 times in 1 posts
January 9, 2012 at 6:31 am #433076I figured out the solution.
a) in the adbar.php file that I created for the module position, I added a <div line> to specify the specific styling.
<div class="ja-adbar">
<jdoc:include type="modules" name="adbar" style="adbar" />
</div>
b) Then, in the template.css file, I put the following:
.ja-adbar { background-color: #fff; border: 1px solid #ccc; margin: 2px; padding: 0; }
Thank you!
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
January 9, 2012 at 7:56 pm #433170CONGRATULATIONS . . . . GREAT JOB !!! 😀
I’m constantly amazed (and reminded) at what a little trial-and-error + patience can accomplish.
All the best with your continuing site development !!
😎
-
AuthorPosts
This topic contains 10 replies, has 2 voices, and was last updated by TomC 12 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum