Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • clintr24 Friend
    #848846

    Hi there,

    I’d like certain modules in Mitius to not have any padding so that ad banners can fill up the entire module position. Currently on our sidebar, our modules have a thin border and plenty of padding so that the contents are centered nicely within. But I’d like to be able to adjust certain modules so that they do not have the padding or border. Is there a div class for that? Or a way I can modify the css files accordingly? I’ve added a screenshot showing a sample ad banner. With the border and the padding, the module down-sizes the ad smaller so that it fits within the module. I’d like the ad banner to display as a full 300×250 banner.
    Thanks!


    1. Screen-Shot-2016-01-15-at-11.38.59-AM
    Pankaj Sharma Moderator
    #848862

    Hi
    there is padding applied on every modules in sidebar , But in this case i need to check your site so i can suggest you changes based on your site .
    kindly make the site live and share the details .

    clintr24 Friend
    #848890
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #848905

    Hi
    I checked the above site but does not found the module on front end .
    Kindly finish the site and upload it on server then share the details with me .

    clintr24 Friend
    #849107
    This reply has been marked as private.
    clintr24 Friend
    #849113
    This reply has been marked as private.
    Pankaj Sharma Moderator
    #849341

    Hi
    Use this code in custom.css file

    
    #Mod445 .module-ct {
    
        padding: 0px;
    }

    save and check . for other module change mod id in this code .

    clintr24 Friend
    #850098

    Hi, thank you, that works, and I used the class suffix "promo" to remove the 1px border on all my modules with ads.

    The only issue I have left is the mast-col module position — it’s displaying only half the ad banner. I remember it did this a few years ago too, and I fixed it back then, but I can’t remember which file/code to modify to allow the full banner to display. Can you point me to the right code that modifies this module position? I’ve tried modifying ja-mastcol and module-inner with no luck.

    Pankaj Sharma Moderator
    #851045

    Hi
    This issue is not from the template .
    You need to apply the code in your ad component .
    Here is code

    .ad_prev_main {
        margin: 5px 5px;
        position: relative;
        width: 100%;
    }

    Here > http://prntscr.com/9rh5f2

    clintr24 Friend
    #864623

    Thank you for your help, but I don’t have that code (width: 100%;) in my files for .ad_prev_main. I will continue to look for the issue on my own.

    As for the other issue I had, with the padding around the ads and the light blue background — I found where to modify the code. It is indeed in your template file, in bootstrap.css:

    .well-small { padding: 9px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; }

    I changed the 9px padding to 0px and now my ads fill the entire 300×250 module size.

    Pankaj Sharma Moderator
    #864979

    Great to sorted ut out .

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

This topic contains 10 replies, has 2 voices, and was last updated by  Pankaj Sharma 8 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum