This article details a fix for a Known Issue.
Who is affected?
This fix is applicable to any customers who:
- Configured Site Ads or Cross‑site Ads using the "Interior page ad" workaround as a way to display ads on Member Home pages.
- Applied custom CSS in the Theme's Override CSS in order to adjust the layout of ads on the Member Home page and/or interior pages (for example, rules that target
.memberhome .ads-grid,#ContentColumn, or#RightMenuColumn).
IMPORTANT: This update will be delivered via a standard code rollout and will be automatically applied to all sites. Notifications will not be sent. Higher Logic encourages you to log in to HUG and check the Higher Logic Community Release Notes to confirm that the fix has been released, and to then complete the steps that are detailed in Revert the workaround, below.
What is affected?
This article pertains to both types of Website Ads:
- Site Ads which display only on the site to which they are added.
- Cross-site Ads which display on your main site and all microsites.
...and to both types of page ads:
- Home page ads and
- Interior page ads.
Learn how to add and manage these ads in Advertisements - Website Ads.
Overview
A fix was included in a recent "enhancement" task which updates ad placement behavior. The fix ensures that:
- Home page ads will correctly display on the Member Home page (as expected), including those that use the memberhome page code and
- the memberhome page code is now treated as home.
NOTE: In future, use only Home page ads for the Member Home page.
As part of this change, Interior page ads will no longer display on the Member Home page or pages that use the memberhome page code.
This could affect customers who previously used the "Interior page ad" workaround in order to surface ads on the Member Home page.
Revert the workaround
After the fix is deployed to your environment, use the instructions that are provided in this section to restore the standard configuration for ads that display on the Member Home page.
Switch the Type of Ad setting
For Site Ads and/or Cross‑site Ads that were set to Interior to ensure they display on the Member Home page:
- Access the Site Setup page and click the Ads tab.
- Click the Type of Ad dropdown and select a Home type option.
This ensures that they display on the Member Home page.
Remove the custom CSS override for the workaround
- Click the Theme Editor tab.
- Locate the relevant theme and click Edit in its Actions column.
- Click Override CSS.
- Remove any previously added custom CSS that was introduced solely as a workaround for the ad display/spacing issue on Member Home or interior pages (override CSS examples are included below).
- Click Save.
Workaround CSS overrides
Member Home grid and column adjustments:
.memberhome .ads-grid { margin: 0 auto; max-width: 1200px; } .memberhome #ContentColumn, .librarydocuments #ContentColumn { width: 80%; } .memberhome #RightMenuColumn, .librarydocuments #RightMenuColumn { width: 20%; }
Community tabs/ad overlap adjustments (only if you added these specifically for the ad workaround):
/*** fix community tabs cutting off sidebar ad ***/ body.ribbit .community-home .community-tabs-container-outer { width: 100%; margin-left: 0; } body.ribbit .community-home>.row { padding: 0; }
If, to compensate for the ad issue, you extended the CSS to other pages by adding additional body classes (e.g., .pageclassname #ContentColumn and .pageclassname #RightMenuColumn), remove those lines, too.
Verify the changes
Navigate to the Member Home page and verify that:
- Home page ads display on the Member Home page as expected (and on any pages that use the memberhome page code).
- The layout and spacing are acceptable with the previously added custom CSS now removed.
FAQs
Why do Interior ad types no longer display on the Member Home page?
- With this fix, Interior ads are intentionally excluded from the Member Home context. Use only Home ad types for Member Home in future.
Do I have to remove all of my custom CSS?
- No. Remove only the custom CSS that was added as a workaround for the ad placement/spacing issues. If any CSS serves unrelated branding or layout needs, keep it; otherwise, remove the rules shown above and any similar additions that are targeted at Member Home ad positioning.
What if I see duplicate or misaligned ads after the fix has been applied?
- This typically indicates that ads were left as Interior while also re‑enabled as Home, or that the workaround CSS is still in place.
- Switch the ads to Home,
- Remove the workaround CSS, and
- Re‑check the Member Home page.