Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-07-01 16:14:07

6sigma
Member
From: Memphis, TN, USA
Registered: 2004-05-24
Posts: 184
Website

4.2 Textpattern's default style with CSS drop shadow?

If one wanted to use Textpattern’s default style, but add a drop shadow around the article area/column…
  1. Can that be done exclusively with a modification of the stylesheet?
  2. If not, what other forms or templates must be edited to make that type of change?

Thanks for any pointers or tips.


“Well, I, uh, don’t think it’s quite fair to condemn a whole program because of a single slip-up, sir.” General ‘Buck’ Turgidson

Offline

#2 2010-07-01 16:24:56

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: 4.2 Textpattern's default style with CSS drop shadow?

1. yes, if it is ok that only more modern browsers support it (in other words not lte IE8)

 /* div or article in case you use html 5 */
div.article, article { -moz-box-shadow: 0px 0px 4px #000; /* FF3.5+ */
  -webkit-box-shadow: 0px 0px 4px #000; /* Saf3.0+, Chrome */
          box-shadow: 0px 0px 4px #000; /* Opera 10.5, IE 9.0 */
}

edit: see this handy resource: css3 please

2. Else you’ll need some extra wrapper div and such which imho isn’t worth it

Last edited by JanDW (2010-07-01 16:26:49)


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#3 2010-07-01 16:29:52

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: 4.2 Textpattern's default style with CSS drop shadow?


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

#4 2010-07-01 17:09:05

6sigma
Member
From: Memphis, TN, USA
Registered: 2004-05-24
Posts: 184
Website

Re: 4.2 Textpattern's default style with CSS drop shadow?

Jan, you’re giving me great answers. I appreciate the help.


“Well, I, uh, don’t think it’s quite fair to condemn a whole program because of a single slip-up, sir.” General ‘Buck’ Turgidson

Offline

#5 2010-07-01 17:11:02

JanDW
Plugin Author
From: Providence, RI, USA
Registered: 2008-07-18
Posts: 327
Website

Re: 4.2 Textpattern's default style with CSS drop shadow?

You’re welcome.


TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX

Offline

Board footer

Powered by FluxBB