Solved

Wordpress content box not resizing to fit text.

Posted on 2008-10-14
2
366 Views
Last Modified: 2008-10-14
On the homepage of this site ( http://pistachioconsulting.com/ ), there is a content box headed with the words, "About Pistachio". In most standards-compliant browsers, the text in this box falls off the edge at the bottom.

Main style sheet is http://pistachioconsulting.com/wp-content/themes/wpremix2/style.css
Style sheet for home page is http://pistachioconsulting.com/wp-content/themes/wpremix2/css/homepages.css

Any ideas?

Thanks.
0
Comment
Question by:BlueArctos
2 Comments
 
LVL 1

Assisted Solution

by:andrewmilo
andrewmilo earned 225 total points
ID: 22716767
Here you go:

http://pistachioconsulting.com/wp-content/themes/wpremix2/css/homepages.css

#main .project (line 584)

{

height: 214px;

overflow-x: hidden;

overflow-y: hidden;

margin-bottom: 10px;

}

You height is fixed, and your y overflow is hidden.  Change the height, and it won't cut off the text!

0
 
LVL 14

Accepted Solution

by:
ziffgone earned 275 total points
ID: 22716888
It's in the homepage.css file here:

#main .project {
height:214px;
overflow:hidden;
margin-bottom:10px
}

Because the height is set at 214px and the overflow is set as "hidden", all your content for this section has to fit into this box everything that doesn't fit will be hidden.

It looks like the only word that is missing is the last one, "results". So you can either edit your content and remove a couple unnecessary words/phrases, or you will have to play with your box by eliminating the height variable or adjusting it bigger, ex: 230px, or set the overflow to "auto" and have your content scroll.

Hope this helps.

Regards...
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question