Carlos Albagnac
asked 5 years ago

Friends,

I need to change the width of the sidebar the focus topic, it is now possible to occupy 230×230 advertising, but in Chile the most used is 300×250, so I must take the place of this size.

Thank you very much.

1 Answers
DominicStaff
answered 5 years ago

Hi,
You can find the solution in the following question:
http://www.designwall.com/question/change-column-widths/
Hope this helps !

maxime0010
replied 4 years ago

Hi!

This solution does not seem to work with the latest version. The "Custom wp_head() code" does not exist anymore, and when I put the code in the "Custom CSS", the content of the sidebar is at the right size but the text overlaps the borders.

Could you check this issue?

Best regards,

dominic Staff
replied 4 years ago

In the latest version, you can add the following code to the style.css file or DW Focus tabs > General > Custom Code:

@media (min-width: 1200px ){
    #page {
        max-width: 1227px;
    }

    .container {
        width: 1225px;
    }

    .site-content  .content-inner  .container  .row   .col-lg-9 {
        width: 885px;
    }

    .site-content  .content-inner  .container  .row  .col-lg-3 {
        width: 340px;
    }

    .content-inner:before {
          left: 885px;
    }
}

Hope this helps !

maxime0010
replied 4 years ago

Thank you for this extremely fast answer!
Unfortunately I still have a problem with the external border on the right.
If you want to have a look: http://gflr.me/algeriefocus/
Thanks in advance,

dominic Staff
replied 4 years ago

To resolve this issue, you can add the following code to the Custom Code:

@media (min-width: 1200px) {
#page {
    max-width: 1227px !important;
}
}

Regards,

maxime0010
replied 4 years ago

It works, thanks a lot!

maxime0010
replied 4 years ago

Actually, my problems are not completely over.
The code solves the container issue, but the sidebar and the content are not properly aligned.
Any idea what the problem is?

Thank you for your help.

maxime0010
replied 4 years ago

(It’s ok, i just found a solution)

Powered by DW Question & Answer Pro