Site logo

Archived topic

Container after_main_content

7 replies · Started by Marius on October 23, 2018

Viewing posts 1–8 of 8

I have set a hook after_main_content for related posts. But this content should be in a separate container, like the main content. How can i do this?

Hi there,

so you want this to be outside of the content? And with the same style container?

I want this and the element below in a white contaniner like the main content.

Try this CSS:

.rpbt_shortcode {
    padding: 40px;
    background-color: #fff;
}

Thanks, that worked.

Glad i could help

Hey David,

can you please tell me the code for the marketer site? Because there, the container have a little shadow or someting.

Marketer uses this CSS:

.inside-article, .sidebar .widget, .comments-area {
    border: 1px solid rgba(232, 234, 237, 1);
    box-shadow: 0 0 10px rgba(232, 234, 237, 0.5);
}
This archived topic is closed to new replies.