Help on CSS in Wordpress

7 replies
  • WEB DESIGN
  • |
This may be an obvious question, but how do you edit the width of the content in a WP template?

I'm working with "Easy WP Sales Pages" and it's cutting off my video width-wise. I can make the white "sales page" wider, but the content (text, video, bullet points, etc) doesn't get wider with it.

This is probably obvious for a CSS expert, but I'm stumped!

Any help is greatly appreciated!

Thanks!
Mike
#css #template #wordpress
  • Profile picture of the author korbs
    Yes, it's CSS. What is the website?
    {{ DiscussionBoard.errors[1989483].message }}
  • Profile picture of the author mpeters7
    Thanks, Korbs, I sent you a pm with the URL.

    I just found the "content" lable but it doesn't change the appearance when I edit the value...
    {{ DiscussionBoard.errors[1989534].message }}
  • Profile picture of the author mpeters7
    The theme says "fixed width" at the top. Does that mean I'm out of luck?
    {{ DiscussionBoard.errors[1989549].message }}
    • Profile picture of the author DarrenHill
      Hi mpeters7

      If you look at your stylesheet you should find

      ".art-contentLayout .art-content" under "/* Begin LayoutCell */"

      these are the styles for the main content within the beige 'sheet'. width is set to 587px you can increase this but you will also have to increase the beige sheet width also.

      (You can find this under "/* begin ContentLayout */" .art-contentLayout )

      maybe increase beige sheet tp 650px and layout cell to 637px and to center everything try changing

      margin: 0 auto;

      (this changes left and right margin to auto amounts so centres objects)

      If you need anymore help let me know. It's late and I may not be making any sense :confused:

      Darren

      *Edit: looks like you were posting at the same time lol!
      {{ DiscussionBoard.errors[1989596].message }}
      • Profile picture of the author korbs
        Sent you an email before I saw you got it.
        {{ DiscussionBoard.errors[1989682].message }}
        • Profile picture of the author apoorv.parijat
          Congrats that it worked out. Still another wordpress theme would have saved you the time spent on fixing the CSS of this.

          Sales Canvas theme has customizable width option. All the content adjusts automatically according to the width specified. You might want to check it.

          www dot salescanvastheme dot com
          {{ DiscussionBoard.errors[1992776].message }}
  • Profile picture of the author mpeters7
    AHHHHH got it!

    It was here:

    * begin LayoutCell */

    .art-contentLayout .art-content

    {

    position: relative;

    margin: 0;

    padding: 0;

    border: 0;

    float: left;

    overflow: hidden;

    width: 687px;

    }

    /* end LayoutCell */
    Thanks!
    {{ DiscussionBoard.errors[1989583].message }}

Trending Topics