Site logo

Archived topic

Help in Using Elements

5 replies · Started by Vikram on February 15, 2023

Viewing posts 1–6 of 6

I'm using Elements to create a Custom header for the Single post type posts.

Code:

<div class="sp-entry-title">
	<h1>
		{{post_title}}
	</h1>
</div>
<div class="sp-entry-meta-author-date">
	Published on: {{post_date}} | Last updated on: [modified_date] | By: {{post_author}}
</div>

I have two sidebars layout: the Left sidebar, content, and Right Sidebar.

But the header is expanded fully. Hence, ads hide the title.

I would like to shrink it to the content size of URL1 to make it look like in the URL2(Private information)

Please help me.

URLs are available in the private field.

Hi there,

add this CSS to your site:

.both-sidebars .inside-page-hero {
    max-width: 1170px !important;
}

Make sure to clear any caches afterwards

Hello, Thanks for the help.

However, the problem is not fully solved.

Both the title and the content are not in the same margin. Please help.

The screenshot URL is available in private info.

Edit your Page Hero element, and set the Left Padding to 20px instead of 100px

Thanks for your help, David. Its perfect now :)

Glad to be of help

This archived topic is closed to new replies.