Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #25850

    Hi,

    I’ve chosen to get rid of the sidebar menu in order to give more space and visibility to my pages.

    Unfortunately, they do not automatically center : how can I manage do display them at the center of my website? Is it possible to enlarge their size so that they gain even more visibility (but still adapt to the visitors’s screen’s size)??

    Here is my website : http://www.labasesecrete.fr/blog/

    #128405

    Hi,

    You can add this on your custom.css or Quick CSS

    .home .template-blog.content {
    width: 920px;
    }

    .home .post-entry.half_post {
    width: 400px;
    }

    You need to fix the images. Edit functions.php, find this code

    $avia_config['imgSize']['page'] = array('width'=>620, 'height'=>200); // image for pages

    Replace it with:

    $avia_config['imgSize']['page'] = array('width'=>920, 'height'=>300); // image for pages

    And this code

    $avia_config['imgSize']['column3'] = array('width'=>300, 'height'=>200); // medium preview pic for 3 column portfolio

    Replace it with

    $avia_config['imgSize']['column3'] = array('width'=>420, 'height'=>200); // medium preview pic for 3 column portfolio

    Regenerate the thumbnails using this plugin: http://wordpress.org/plugins/regenerate-thumbnails/

    Regards,

    Ismael

    #128406

    Thanks for you help, it works! Even though the post that was under the first slider (“this is a Vimeo post” is now kind of eaten up by the slider since it now appears to its right…

    But my first idea was to center the pages of my website, not just the home page but every page, like this one : http://www.labasesecrete.fr/blog/?page_id=43

    Where can the changes be done? In functions.php?

    #128407

    Hi Drucci,

    You can probably get most of the way there with:

    .content {
    margin: 0 auto;
    float: none;
    }

    Regards,

    Devin

    #128408

    Thanks, it works just fine!

    One last query : how do I enlarge the pages so that they take the same amount of space on the page than the home page?

    I’ve tried adding the “width: 400px;” line in custom.css but it actuall does reduce the size of the page… and I would like a line that allows the page to be resized automatically considering the visitors’ screen size.

    #128409

    Hi,

    You should probably use this

    .template-blog.content {
    width: 920px;
    }

    .post-entry.half_post {
    width: 400px;
    }

    Shoutbox is not a responsive theme. You can use Media Queries to make it responsive, it will take a bit of modification. You can hire a freelance developer to do the job. :)

    Regards,

    Ismael

    #128410

    Thanks, I’ve managed to make it work!

    One last query : is there a way to adapt the WordPress article appearance (in the admin’s page’s customization) to the width of the page? As you can see, my page (http://www.labasesecrete.fr/blog/?page_id=43) now is larger but the text and other elements are not adapted to the new width.

    #128411

    Hi,

    Are you saying the fonts are small? You can adjust it using this:

    .entry-content, .blog-meta {
    font-size: 20px/2em;
    }

    Regards,

    Ismael

    #128412

    No, I already changed the font’s size. But I badly expressed myself, sorry.

    I meant to know if there was a way of adapting several widgets’ appearence to the larger width of the pages. For, example, here (http://www.labasesecrete.fr/blog/?p=14), at the bottom of the post, the “Related posts” links should appear from left to right but they appear right above each other. I have the same problem with other plugins which are supposed to be displayed horizontally but are thus appearing vertically.

    #128413

    If you mean the text widget its just in the way you have it coded. The images are floating left but there isn’t any clearing to make them actually one after another.

    #128414

    Okay, thanks a lot!

    #128415

    Glad we could help :)

    Regards,

    Devin

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

The topic ‘Center the pages’ is closed to new replies.