Forums

Problem with adjusting my page (11 posts)

  1. Jontan
    Member
    Posted 2 years ago #

    Hi, can someone kindly assist me?

    I have a page where i need to adjust the width. But more ever how i change width from the CSS file, it still the same.

    This is the page, please help. Thanks in advance

  2. @mercime
    Member
    Posted 2 years ago #

    Do you want to change the width for the specific page you pointed to or for the whole site?

  3. Jontan
    Member
    Posted 2 years ago #

    Yes, i would like to change the width in specific page.

  4. Jontan
    Member
    Posted 2 years ago #

    I'm using a mixedart theme, in case you need it

  5. Jontan
    Member
    Posted 2 years ago #

    Hi anyone else can help?

  6. @mercime
    Member
    Posted 2 years ago #

    Replace <body> in header.php with
    <body <?php body_class(); ?>>

    This will auto-generate post/page specific classes in your theme and therefore make it easier for you to apply a variety of different styling to specific pages/posts. In your case, if you add body_class, you can add something like below at the bottom of your theme's style.cssfile

    body.page-id-11 .Sheet { width: 1000px; }
    where .page-id-11 is the body_class generated and change width as you like it.

  7. Jontan
    Member
    Posted 2 years ago #

    Dear Mercime,
    Thanks for your assist. Btw, i'm still a newbie. Perhaps you can guide more clearly. Here is my style.cssfile. Which part shall i add in?

    *
    [huge chunk of code moderated - please use wordpress.pastebin.ca or link to file]

  8. Jontan
    Member
    Posted 2 years ago #

    Dear Mercime,
    I tried it but it seem like I altering the size of the theme instead of the page width. To be clear, i need the page with only a sidebar instead of 2. The current theme template contain 2 sidebars (left & Right).After removing the left sidebar, the post-content aligned to the left together with the right sidebar. In fact, it page and the right sidebar were adjusted automatically into half of the page size. Therefore, i need to resize the page (Post-content width) and turn the right sidebar back to the original size. I hope you can understand what i referring to.

  9. @mercime
    Member
    Posted 2 years ago #

    Hi, seems like you have reverted your theme back to default as I am seeing it right now. Btw, to post large chunks of code so that it won't be deleted by mods here, use http://wordpress.pastebin.com/ and post back the link here.

  10. Jontan
    Member
    Posted 2 years ago #

    Thanks for you helps Mercime. however, i have crashed my site after installed some plugin, which make me to restart all over again.

    Now, I'm trying somthing new like OS Commerce. Can you guide me again?

  11. @mercime
    Member
    Posted 2 years ago #

    "I'm trying somthing new like OS Commerce"
    As in osCommerce the opensource shop program? If you need guidance for that application, you should join their forum at http://forums.oscommerce.com/

Topic Closed

This topic has been closed to new replies.

About this Topic