1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Random media block - sectionMain nested inside section

Discussion in 'Media Gallery Resolved Bugs' started by Moddis, Feb 21, 2015.

  1. Moddis

    Moddis Active Member

    When displaying the media block on the forum home page, can you remove the the .section style around the .sectionMain?

    I found that in most of xenForo, the .section class only goes around .secondaryContent and it's a little out of place when applied as the parent of .sectionMain. Also, applying the .section class as the parent style does not do anything in the default style anyway so it should not hurt anyone if its removed.
  2. Chris D

    Chris D XenForo Developer Staff Member

    It was added for more consistent styling of the block when it is part of the sidebar. With that in mind, I've removed the section class unless the block is being used in the sidebar.
    Moddis likes this.
  3. Moddis

    Moddis Active Member

    Awesome, thanks!

    I did see it screw up the sidebar styling when I manually removed the .section but I didn't do much about that since the sidebar widget was not in use.

Share This Page