Solved

Wordpress content box not resizing to fit text.

Posted on 2008-10-14
2
369 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

Industry Leaders: 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

Suggested Solutions

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…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
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…

737 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