Solved

css wordpress - change stunning text box to bottom and center across entire image

Posted on 2016-08-04
2
60 Views
Last Modified: 2016-08-05
I am trying to put a blue opaque bar on the very bottom of my section. Currently if you browse to the URL: http://www.pengele.com/test/pengele2/

There is a blue opaque text box in the center of an image. I would like it to look like the .pdf attached. I want to move the text box down to the very bottom of the image (see attachment).

I have tried using firebug for the last few hours and can't figure this out. Please help experts...
home-page-change.pdf
0
Comment
Question by:sqlagent007
2 Comments
 
LVL 42

Accepted Solution

by:
David S. earned 500 total points
ID: 41744719
Absolute positioning is probably the most commonly used approach to do that. It works because one of the ancestors has "position:relative" which creates a new positioning context for it. You'll also need to remove the style attribute from that element as it's giving the element a bottom margin.
#content-section-1 .gdlr-stunning-text-item {
	position: absolute;
	margin: 0;
	bottom: 0;
	left: 0;
	width: 100%;
}

Open in new window

0
 
LVL 1

Author Closing Comment

by:sqlagent007
ID: 41744907
Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
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…

863 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

25 Experts available now in Live!

Get 1:1 Help Now