Support » Themes and Templates » Widen the content box

Viewing 7 replies - 1 through 7 (of 7 total)
  • The width of the box should be the same width as the page width
    Like this one

    THANKS in advance

    If you are looking for a solution for the whole website, you can create override a function with one of your own.

    In functions.php paste in:

    <?php if ( ! isset( $content_width ) )
    	$content_width = 1024;

    I set it to 1024, you can change it to whatever width you’d like.

    Let me know if this helps.

    THANK YOU jumbolove
    I pasted that in funtion.php. but as soon as I clicked the “update file” I got the following message:

    Parse error: syntax error, unexpected ‘<‘ in /home/f916236/public_html/ on line 539

    What´s does it mean??

    THANKS again

    After I pasted that code seems that I can´t do any with my blog now.

    Every time I want to do something that message show up!! Even when I deleted it from funtion.php

    What´s can I do now?
    I can´t even access to my blog. Wooow I don´t know what going on here.

    It means there is an error in your code somewhere. If you didn’t get that error before, make sure that in this segment you balance all the braces and end the argument with a semi-colon.

    If it still doesn’t work, you can paste in the code of the whole file using .

    THANK YOU jumbolove again I appreciate your valuable help

    I have couple question now:

    1- Should I place the code in some particular place of the funtion.php box?

    2- Where should I put the braces?

    here? <?php if ( ! isset( $content_width ) )
    $content_width = 1024;
    ?> or here? both? or none of them?


    I found this code portion and I changed the value from 383 to 600 but when I go to view my site I don´t see any change. What´s could be happening??

    if ( ! isset( $content_width ) )
    $content_width = 600;

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Widen the content box’ is closed to new replies.