airbjorn
Forum Replies Created
-
Thanks a lot Dimitris – the 64% vs 33% already is my solution. I’m happy that you confirm my changes are at the proper place. Because at the same time I’m a bit afraid modifying things at the wrong place, which break the design in other configurations I might get faced to later on.
Warm regards – Björn
Hi Nastia, thanks for your quick reply! However, with this change, the sidebar of the blog entries also gets displayed on the _left_ side.
So actually the change moved the content to the right, not the sidebar itself. At the same time, the example page looks exactly like before.
Yet I figured out a solution which looks quite as I wanted it. In my child theme I added the following CSS:
/* Sidebar on pages should appear on the right hand side (default: left) */ @media screen and (min-width: 48em) { body:not(.has-sidebar):not(.page-one-column) .page-header, body.has-sidebar.error404 #primary .page-header, body.page-two-column:not(.archive) #primary .entry-header, body.page-two-column.archive:not(.has-sidebar) #primary .page-header { float: right; } /* wide actual content to 64% (default: 58) */ blog:not(.has-sidebar) #primary article, .archive:not(.page-one-column):not(.has-sidebar) #primary article, .search:not(.has-sidebar) #primary article, .error404:not(.has-sidebar) #primary .page-content, .error404.has-sidebar #primary .page-content, body.page-two-column:not(.archive) #primary .entry-content, body.page-two-column #comments { width: 64%; } }Have a look at https://forum.dcb.org/flatlands-gs/ now (although I’m a bit confused there is no gap between content and sidebar).