Jump to content


Photo
- - - - -

What about sections native size and .navbar customization?

dms custom css navbar menu padding

  • Please log in to reply
1 reply to this topic

#1 save4eg

save4eg

    Member

  • Members

  • 27 posts
  • Country: Country Flag

Posted 31 August 2013 - 08:01 PM

Hello! 

I have two questions:

1. what css code will be valid for a section if I want to set sized padding around it? How to find section id and add correct code to custom css?

2. I want to change navbar section to flat design, and want to place code like this:

 

 
-webkit-border-radius: 0px;
border-radius: 0px;

Is it correct to add to custom CSS/less something like this: 

 
.navbar4ypvkh{  
  box-shadow: none;
  -webkit-border-radius: 0px;
  border-radius: 0px;
}

or i am wrong?

Because this code doesnt work at all ;(

 



#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 31 August 2013 - 10:08 PM

Hi,

 

Your 1st question is a bit vague as that CSS might be applied to a number of sections or elements.  If you use Firebug (www.getfirebug.com) for Firefox, you'll see the elements it could be added to.

 

The 2nd question does look as if you've removed any overall shadow, however, this is the code for it:

.navbar.pl-color-blue {
    background-color#0E78F8;
    background-image-moz-linear-gradient(center top , #1780FF, #006BED);
    background-repeatrepeat-x;
    border-top1px solid #006BED;
}
 
To change the color to a single color, remove the background-image element.






Also tagged with one or more of these keywords: dms, custom css, navbar, menu, padding