Jump to content
Sign in to follow this  
glynt

New Pagelines 2.0

Recommended Posts

glynt

Hi all, Can anyone advise how to do this: #fbox_10 .dcol-pad{ background: #ccedf9; border-radius:10px; border: 1px solid #999; -moz-border-radius:10px; -moz-box-shadow:1px 3px 6px #999; box-shadow:1px 3px 6px #999; -webkit-box-shadow:1px 3px 6px #999; padding: 5px;} in pagelines 2.0? It is part of my custom CSS from the old pagelines that doesn't work anymore... Many thanks, Glyn

Share this post


Link to post
Share on other sites
Rob
Glyn, Could you provide a link to your site and explain the purpose or use of that CSS snippet? Thanks!

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
glynt
Hi Rangelone, Thanks for your message. The CSS above used to put a rounded corner border and a shadow around my boxes, and fill the background with a colour. The website address is www.benidorm-selections.com Many thanks, Glyn

Share this post


Link to post
Share on other sites
Danny
Hi Glyn, To add styling to all boxes try using this: [code].grid-element-pad { background-color: #f5f5f5; border-radius: 4px; border: 1px solid white; box-shadow: 0 0 0 1px #ececec; padding: 5px; }[/code] To add styling to individual boxes, your code above should work for the box which has an ID of 10, but remove the dcol_pad part from your code, so it look like this: [code]#fbox_10 { background-color: #f5f5f5; border-radius: 4px; border: 1px solid white; box-shadow: 0 0 0 1px #ececec; padding: 5px; }[/code] Then using your Web developer console, like the one that comes with Google Chrome or Firebug, find the ID for the others boxes and then simply copy and paste the code above and change the ID from 10 to the ID of the box you wish to style.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
glynt
HI Danny, Thanks very much, that worked a treat! Cheers, Glyn

Share this post


Link to post
Share on other sites
Danny
No problem, happy to help!

Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×