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

    • Liv Kundalini
      By Liv Kundalini+
      Hi -
      Pulling my hair out over here, and would love an assist!
      Site I am building, http://www.livkundalini.com/home, has a problem with the submenu items in the nav not appearing. 
      If anyone wants to see what the Nav should look like, feel free to look in the footer on the left hand side.
      Have tried disabling Pagelines and using the twentyseventeen theme, but problem persists.
      Saw this error (pasted at the bottom of this post) displaying in the inspector, and saw discussion of Jetpack potentially being a culprit. Disabled Jetpack, but the problem persists.
      Had the hosting company even flush the server-side cache, but no avail.
      Any thoughts? Please? It's the only thing keeping me from launching this site!
      Many Thanks,
      Todd
       
      WebSocket connection to 'wss://public-api.wordpress.com/pinghub/wpcom/me/newest-note-data' failed: Error during WebSocket handshake: Unexpected response code: 403   O @ (index):7
    • 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

×