• 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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Do you want to change the width for the specific page you pointed to or for the whole site?

    Thread Starter Jontan

    (@jontan)

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

    Thread Starter Jontan

    (@jontan)

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

    Thread Starter Jontan

    (@jontan)

    Hi anyone else can help?

    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.

    Thread Starter Jontan

    (@jontan)

    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]

    Thread Starter Jontan

    (@jontan)

    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.

    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 https://wordpress.pastebin.com/ and post back the link here.

    Thread Starter Jontan

    (@jontan)

    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?

    “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 https://forums.oscommerce.com/

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Problem with adjusting my page’ is closed to new replies.