How to have the same table width?

Home Forums ColorMag Free How to have the same table width?

Tagged: 

This topic contains 12 replies, has 4 voices, and was last updated by  rogerferdrer 1 year, 6 months ago.

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1333598

    Zajda
    Participant

    In the editor I have a table defined in the picture.
    table in editor

    But in the article I see the table wide across the width, see the picture. 🙁
    wide table in post

    I would like to have the table as wide as it appears in the editor.

    Thank you for your help

    #1335137

    Zajda
    Participant

    Can I ask for advice on how to make a table like in the editor?

    #1335237

    Ashish
    Moderator

    Hello, @Zajda

    Can you provide us URL for your website so that we can inspect it and give you a proper solution?

    Regards,
    ThemeGrill Support Team.

    #1335358

    Zajda
    Participant

    Hello, @ashishsthanp

    e.g. in this article

    thanks

    #1335464

    Ashish
    Moderator

    Hello, @Zajda

    You can add following code inside Appearance > Customize > Additional CSS :

    
    .post .entry-content table {
        width: 60%;
        margin: 0 auto;
    }
    

    If you get any issue later, feel free to ask again! We would really appreciate if you could provide us a review here: https://wordpress.org/support/theme/colormag/reviews/?filter=5

    Regards,
    ThemeGrill Support Team.

    #1335529

    Zajda
    Participant

    Thank you for your help, table is OK.

    But how can I center the text like in editor

    editor

    but in post

    Why is there a difference between the view in the editor and the final article view? I think, editor is WYSIWYG?!?

    Thank you foro your help.

    #1335564

    Zajda
    Participant

    Something like <td style=”vertical-align: middle; ….>

    #1335661

    Ashish
    Moderator

    @Zajda
    Are you using some plugin for creating a table?

    #1335689

    Zajda
    Participant

    @ashishsthanp

    No, I do not use any plugin.

    It looks like the template is formatting tables, but unfortunately they do not match what’s in the editor.
    Here, for example, I modified the HTML code manually and the result in theme is identical to what is in the editor.

    <table style=”width: 0px;” border=”0″>
    <td style=”vertical-align:middle;”>

    #1335848

    Ashish
    Moderator

    @Zajda
    It seems you need lots of customization for a table, so we cannot help you out on this issue from this forum.

    If you really want to do so, you can contact our customization team.
    https://themegrill.com/customization/

    Regards,
    ThemeGrill Support Team.

    #1336203

    columnisthub
    Participant

    Hello Sir,

    I have installed colormag theme in my wordpress website columnisthub.com but whenever I try to edit any post it saves the changes but website redirects to a blank page. There is any problem with post.php file so can you help me to sort out this problem. I am not a coding person so please help to solve this issue asap. I will be grateful of you for this.

    Looking forward to hear back from you

    #1336343

    Ashish
    Moderator

    @columnisthub
    Please check this post:

    Error in editing post

    #1336652

    rogerferdrer
    Participant

    thanks

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.