Site logo

[Resolved] Help in Using Elements

Home Forums Support [Resolved] Help in Using Elements

Home Forums Support Help in Using Elements

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2533967
    Vikram

    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.

    #2534063
    David
    Staff
    Customer Support

    Hi there,

    add this CSS to your site:

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

    Make sure to clear any caches afterwards

    #2535414
    Vikram

    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.

    #2535754
    David
    Staff
    Customer Support

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

    #2536443
    Vikram

    Thanks for your help, David. Its perfect now 🙂

    #2536653
    David
    Staff
    Customer Support

    Glad to be of help

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.