test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • heritage123 Friend
    #200296

    Is it possible to split one of the feature positions into two or more positions, such as the position-1, position-2 or footer-1, footer-2 etc.

    I need to place two modules side by side in the same area where features is diaplayed, but the template does not seem to allow me to do that.

    Thanks

    TomC Moderator
    #544832

    If you add a module class suffix to a module (in Advanced Options on module edit screen),
    you can then style it using CSS.

    For Example:
    Add “-mysuffix” as a Module Class Suffix to both modules.


    .custom-mysuffix {
    width:50%;
    float:left;
    }

    This would set them to 50% of the width of their parent and they would also be side by side.

    It is important to note that if you wanted to add margin or padding (as these divs would be right next to each other with no gap), then you couldn’t set them both to 50% as the margin and padding would add to the width.

    If you are using a fixed width template, then calculate what 50% would be and then subtract your left/right margin/padding. For example if using 960px:


    .custom-mysuffix {
    width:440px;
    padding:20px;
    float:left;
    }

    960px / 2 = 480px – (20px left padding + 20px right padding) = 440px

    Hope this helps.

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

This topic contains 2 replies, has 2 voices, and was last updated by  TomC 10 years, 4 months ago.

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