Left margin is 0 on Twenty Twenty template
-
Left margin is zero. This is due to this class, which is in /wp-content/plugins/ics-calendar/assets/style.min.css:
.ics-calendar {
clear: both;
display: block;
margin: 1.5em 0;
}The
0
causes the left and right margins to be zero. Deselect that class’s margin value in your browser’s developer tools, and the calendar feed aligns as expected.This site’s theme is www.ads-software.com’s Twenty Twenty template. This theme has fairly heavy use and is among a small set that are meant to model the right way to do themes.
(While I provided a URL, I have hacked the .css file to eliminate
margin: 1.5em 0;
, so visiting the site will not reproduce the problem. But imagine all the dated events being slammed to the left side. That is what I get.)The page I need help with: [log in to see the link]
- The topic ‘Left margin is 0 on Twenty Twenty template’ is closed to new replies.