Solved

Wordpress content box not resizing to fit text.

Posted on 2008-10-14
2
368 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

756 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