Site logo

Archived topic

"Dev" site library - date and category archive pages too close to header

6 replies · Started by Anders on November 19, 2020

Viewing posts 1–7 of 7

Hi!
"Dev" site library: For date and category archive pages the position of the top H1 and the sidebar widget is too close the header area. Looks weird. How can I add top margin for those pages?
Anders

Hi there,

try adding this CSS so it matches the blog page:

.archive .page-header  {
    margin-top: 60px;
    margin-bottom: 60px;
}

Hello,

How do you add a "sticky" header with a top bar to the "dev theme?

Hi Kwame, can you raise a new topic please.

OK, sorry about that!

thanks, problem solved. But I also added following to get the sidebar widgets in place:

.archive .widget_recent_entries {
margin-top: 60px;
margin-bottom: 60px;
}

Glad to hear you fixed the issue!

This archived topic is closed to new replies.