Jump to content

Archived

This topic is now archived and is closed to further replies.

save4eg

What about sections native size and .navbar customization?

Recommended Posts

save4eg

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 ;(

 


Sorry for my english. Grammar for me is a big trouble :)

 

Share this post


Link to post
Share on other sites
Rob

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.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

  • Similar Content

    • russe-intensif
      By russe-intensif+
      Hi team,
      checking my site today, i'm surprised to see my MegaNav all in bottom of the pages, while it's in header.
      After getting to change it in couple of pages onto Template part (too time consuming !), i'm desperate and ask you for help :-)
      apprendre-le-russe-avec-ania.fr
      Thank you in advance !

    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a few weeks ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • tuciudadenred
      By tuciudadenred+
      Hi everyone, what happens is that the web page metrosalarmas.com has a google tags which I have not attacked where I can look to remove those tags and be able to locate the correct ones.
    • Steve Webb
      By Steve Webb+
      I am having an issue with DMS editor not loading.  Just keeps spinning and spinning.
      Have tried several things - Logged in and out, cleared cache, deactivated all plugins, but the issue persists.
      I even had our host restore from a backup a week ago, when I know it WAS working, as I edited a text box on the homepage.  The restore from backup didn't help either.
      Also, the front end of the site shows that the site is framed, or boxed now (whatever you call it), instead of full width as it was previously (last week).
      Dev console shows that there are php errors in Google maps - file is attached.
      Can someone please help?  Not sure what else I can do here...
      Thanks in advance.
      -Matt

    • dwpoyner
      By dwpoyner+
      Not sure exactly what is causing the issue. For some reason, why you view my site on mobile, the menu does not show up. It will pop up, but it is black. You can check it out here: http://dev.caryfbc.org. I'm also attaching a screenshot where I shrunk my browser down. Any suggestions?

×