Solved

Wordpress content box not resizing to fit text.

Posted on 2008-10-14
2
364 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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
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 add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

744 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now