test
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • kcdesi Friend
    #172503

    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.

    TomC Moderator
    #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 Friend
    #432809

    Sent you the details. thank you for prompt response.

    kcdesi Friend
    #433053

    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.

    <em>@kcdesi 293271 wrote:</em><blockquote>Sent you the details. thank you for prompt response.</blockquote>

    TomC Moderator
    #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 Friend
    #433067

    Tom, 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 Moderator
    #433071

    Try 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 Friend
    #433072

    Thank 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 Friend
    #433076

    I 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 Moderator
    #433170

    CONGRATULATIONS . . . . 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 !!

    😎

Viewing 10 posts - 1 through 10 (of 10 total)

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