Home Forums Theme Support Dokan Full Witdh for Posts

This topic is: not resolved

This topic contains 12 replies, has 2 voices, and was last updated by  Nayem 3 years, 9 months ago.

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

    Martin
    Participant
    Post count: 130

    I placed the single.php in the child theme directory. Worked. Sidebar is disabled.

    Then this in the style.css :

    .single .site-content {
    margin: 0;
    }

    did not work (fullwidth).
    Do you have any idea?
    Thanks

    #46257

    Nayem
    Moderator
    Post count: 6480

    Can you please try with this one-

    .single .site-content {
    margin: 0 !important;
    }
    #46258

    Martin
    Participant
    Post count: 130

    I already tried this. Does not work.

    #46270

    Nayem
    Moderator
    Post count: 6480

    Can you please tell where you want to change the css? You can show me that place then i can help you to do that.

    Thanks.

    #46321

    Martin
    Participant
    Post count: 130

    In the child directory, there is the style.css with this:

    /*
    Theme Name: Dokan Child
    Description: Child theme for Dokan
    Author: Martin Pally
    Version: 2.1
    Template: dokan
    */
    @import url(“../dokan/style.css”);
    /* full width post */
    .single .site-content {
    margin: 0 !important;
    }

    #46332

    Nayem
    Moderator
    Post count: 6480
    This reply has been marked as private.
    #46337

    Martin
    Participant
    Post count: 130
    This reply has been marked as private.
    #46339

    Nayem
    Moderator
    Post count: 6480

    Hello Martin,

    Please try with

    .col-md-9 {
    width: 100% !important;

    . It should work if you are using Dokan theme.

    Thanks.

    #46340

    Martin
    Participant
    Post count: 130

    i did this – does not work

    #46341

    Nayem
    Moderator
    Post count: 6480

    Hello Martin,

    You can provide your site link and we can check for you where you want to change then we will do it for you.

    Thanks.

    #46343

    Martin
    Participant
    Post count: 130
    This reply has been marked as private.
    #52611

    Martin
    Participant
    Post count: 130

    For child theme generally – it works for me now with the style.css when I add this in the header.php:

    #52966

    Nayem
    Moderator
    Post count: 6480

    Hello Martin,

    I am very glad to know that it works for you.

    Thank you for being with us.

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

The topic ‘Full Witdh for Posts’ is closed to new replies.