• How can i set my desktop content area width to 728px and sidebar width at least 300px in astra theme website
    The options in the customiser confused me thoroughly

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @tsat01,

    You can change the default content width by adding the snippet provided in this doc.

    I hope it will help.

    Kind regards,
    Herman ??

    Thread Starter tsat01

    (@tsat01)

    function astra_update_block_content_size( $content_size ) {
    return ‘840px’; // Default 910px overridden by 840px.
    }

    add_filter( ‘astra_block_content_width’, ‘astra_update_block_content_size’ );

    this code given in the page you have shown is returning an error
    can you please check
    I want the content area (main content) to be 728 px

    Thread Starter tsat01

    (@tsat01)

    Sorry there is no error ; my mistake

    Thread Starter tsat01

    (@tsat01)

    Please tell me how to change the width of the entry-content area – it is not the block width that i want to change but the content area

    Hi @tsat01,

    Sorry, I don’t get you. The snippet in that doc should work to change the Content width?

    Maybe sharing a screenshot or a video to help us understand your query better?

    Looking forward to hearing from you.

    Kind regards,
    Herman ??

    Thread Starter tsat01

    (@tsat01)

    THis changes the block area but the inside content area changed with this code
    .entry-content { width:728px !important; }

    Hi @tsat01,

    What about this option?

    Looking forward to hearing from you.

    Kind regards,
    Herman ??

    Thread Starter tsat01

    (@tsat01)

    How do you do this for full site?

    Thread Starter tsat01

    (@tsat01)

    Please check this image – https://snipboard.io/IPRqT4.jpg
    How do I increase this to 728px for the whole site?

    Hi @tsat01,

    The option in the screenshot I shared above, it will be implemented to the Single Post on the entire site. If you would like to do the same for the Page, you can do that from the Customizer > Global > Container > Container Width.

    Please let me know if it still doesn’t help.

    Kind regards,
    Herman ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘content width’ is closed to new replies.