Add a background colour to a text block
cmjdavies
Registered Users Posts: 18 Big grins
Hi,
I want to add some information pages to my wedding photography site that I'm building alongside my normal adventure sport site.
How do I put an 80% grey background to the text block? Currently the white text sits on top of the back ground photo and looks rubbish.
This is one of the pages I'm playing with: http://www.chrisdaviesphotography.com/WeddingPhotography/About-Weddings
and I want to do something like Alastair has in his legacy site:
http://alastairjolly.com/about/
If I can add a nice white border and a photo inside or out that would be good too!
Cheers to anyone who can help out,
Chris
www.chrisdaviesphotography.com
www.chrisdaviesweddings.com
I want to add some information pages to my wedding photography site that I'm building alongside my normal adventure sport site.
How do I put an 80% grey background to the text block? Currently the white text sits on top of the back ground photo and looks rubbish.
This is one of the pages I'm playing with: http://www.chrisdaviesphotography.com/WeddingPhotography/About-Weddings
and I want to do something like Alastair has in his legacy site:
http://alastairjolly.com/about/
If I can add a nice white border and a photo inside or out that would be good too!
Cheers to anyone who can help out,
Chris
www.chrisdaviesphotography.com
www.chrisdaviesweddings.com
Travel and Adventure Sports Photographer
www.chrisdaviesphotography.com
@cmjdavies
+ChrisDavies
Chris Davies on Facebook
www.chrisdaviesphotography.com
@cmjdavies
+ChrisDavies
Chris Davies on Facebook
0
Comments
.sm-page-widget-4544024 {
background: rgba(22, 22, 22, .20);
border: 1px solid #666;
}
My Website index | My Blog
- Thanks for the CSS, I can't use this as I don't want it to go site wide, I'm doing a bit of a hack to have two different looking sites under one account.
Cheers both!
www.chrisdaviesphotography.com
@cmjdavies
+ChrisDavies
Chris Davies on Facebook
I didn't even know there was CSS for a widget for text blocks, so glad Allen posted that.
Try putting it in your folder or gallery where you want the text block, rather than the Theme-site-wide CSS. Not sure that will work, just guessing.
reload. This has nothing to do with a theme so you can put it in "entire site", "all galleries" or
"Just this page" CSS. I'd recommend using ""Just this ..." CSS.
Edit: That is a static widget ID so it will only apply to that text box.
My Website index | My Blog
Thanks so much for your help
www.chrisdaviesphotography.com
@cmjdavies
+ChrisDavies
Chris Davies on Facebook