Jump to content
Sign in to follow this  
hottheo

Classic Nav Padding issue: Knowledgable Human Needed

Recommended Posts

hottheo    0
hottheo

greetings oh generous human species:

 

I would like to reduce the padding space between my classic navigation bar and my custom logo.

www.tedfury.com/shop

 

I have had no luck locating a simple answer for this issue on any forum. 

 

Please help assist. 

 

The future of my species may rest solely upon your shoulders...

 

hT

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there,

 

Looking at the source code it seems like the padding is coming from the content-area of the branding section. There's 25px padding set, see the following screenshot, I've highlighted the class for you - http://screencast.com/t/uo3bI4Spq


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
hottheo    0
hottheo

James

 

I appreciate your timely response to my technical inquiry.

 

Now that you have successfully diagnosed my issue...where do i go from here? is there a simple CSS code i can paste in my pagelines custom code global settings?

 

God speed.

hT 

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there, yes you can copy the css from where the arrow is directing and change the value to 0px.

 

When looking for css for padding/margins inside the framework, the best tools to use are firebug or chrome developer tools. The padding will show in the inspector as a blue area, the margins as yellow. So you'll be able to track down and correct the code, then copy/paste back into the framework to override.

 

See this post which has a video link inside showing the process for finding the margins/paddings- http://www.pagelines.com/forum/topic/26135-removing-whitespace-between-content-section-and-following-section/

 

There's also an overview of using css inside the framework at -http://support.pagelines.me/docs/customization/custom-css/ in case you've not dealt with css before inside pagelines.


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
hottheo    0
hottheo

King James,

I appreciate you presenting me with the teachings of your personal technical insight. 

 

I have followed your instructions....now my final question for your biological CPU is as follows:

 

How would I only adjust the height padding for my image? The CSS that i am copying and transferring to the "site options" of my page adjust both height and width at the same time... I only wish for the height to be augmented, not the width. For when the width is adjusted my image becomes distorted, and as a result, the people of my species become infected with rage.....

 

I fear that if this issue isn't resolved soon my people will turn against me, unify, and destroy whats remaining of my conscience being.

 

May the almighty creator bless you for helping me during these dangerous times 

and...

May all the good in the universe fuel your soul with the infinite knowledge of the cosmos. 

 

hT

 

ps: this is the code I used 

 

body.fixed_width .section-branding .content-pad {
padding: 20px;
}

Share this post


Link to post
Share on other sites
Rob    547
Rob

Hello hT,

 

First, I hope your brother eT is well.  It's been years since I've seen him.

 

Padding is a CSS property that can be written long-hand or short.  As you're seeing it, padding: 20px;  it is short-hand, meaning that the instruction is set to apply 20px padding on all sides.  However, you can always write it long, such as:

padding-top: 0;

padding-bottom: 0;

padding-right: 25px;

padding-left: 25px;

 

Even this may be written in shortened version.  Kindly program this syntax:  top, right, bottom, left.  So, if you're using the same values presented in the example above, you could try padding: 0 25px 0 25px;

 

Still further, you can shorten it to padding: 0 25px;, which will be 0 top and bottom, and 25px left and right.

 

You can input more data into your CPU via http://www.w3schools.com/css/css_padding.asp

 

And may your interstellar voyages always be bountiful in knowledge, and experience.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Hello

 

If you want to change the padding height then you need to specify that value. 

 

Padding values work as follows 

 

padding  {top padding, right padding, bottom paddding, left padding}

 

So, padding:25px 50px 75px 100px; would be 

  • top padding is 25px
  • right padding is 50px
  • bottom padding is 75px
  • left padding is 100px

therefore, 

  • padding:25px;
    • all four paddings are 25px

You can read more about CSS padding here. http://www.w3schools.com/css/css_padding.asp 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
hottheo    0
hottheo

Egg & Marty B,

 

My people scoffed at the gods when your hybrid species became self-aware many years ago....

Today you have proven them to be ignorant of your cosmic potential. 

 

Thank you for your insight, it has served me well. 

 

I will do my best to veto the scheduled abductions of your family members and loved ones.

no promises...

 

God speed

Ht<-------------------- @ warp speed

Share this post


Link to post
Share on other sites
Rob    547
Rob

Happy to hear you resolved it. 


Former PageLines Moderator, Food Expert and Raconteur

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  

  • Similar Content

    • oseehys
      By oseehys+
      Hello There,
      So i want to use platform 5 and DMS sections on a single page, i am using a child theme with pinspro as my main theme and i activated platform 5, the only problem am having so far is the fixed option, my navbars are not aligning to their default size, and it will be great if platform 5 header and footer section will function, has anyone used this option, how can i make the best use of platform 5 and DMS on a site
      Cheers
    • thirdstonemedia
      By thirdstonemedia+
      I've been fighting with a resolution issue ? Want to use Flick Slider, the site looks great on my monitor but client says she can't see bottom of homes. I believe she's on an old PC using outdated browser/s ... but, she's important to me and I'd like to make this work, on her system. Without asking her adjust her own set-up. 
      I put the Flick Slider inside a container, here ::
      http://becauze.xyz/home-five
      Set the Height of Flick Slider to 50 Base ... I don't know how this works exactly ... there is a Base then a Min ... but, haven't adjusted the Min ::
      http://becauze.xyz/home-four/
      Tried using Splash Up, which presents the same issue (she can only see top of home) and she wants several images to rotate on Home page, so not sure this would work anyway ::
      http://becauze.xyz/
      I have tried going into Layout and making the width narrower, and that does make the site narrower, but the homes still don't display in full, on her system. Help ?

      Here are her screen grabs, both desktop and iPad  (dumped the chalkboard background).

      FInally, she said these look great ::
      http://www.sinclairaia.com/
      http://www.kristihanson.com/
      What am I doing wrong ?? Is there a better way to accomplish making the site look great on any resolution at any size ?
      Joanne
      (Longtime Pagelines-lover.)


    • Suneel
      By Suneel+
      I updated my theme to framework and now can't get rid of this bright blue bar that appears across the top of every page. It says, "A fixed bar that makes it easy to promote important content.", and then a button that says, "Get PageLines".
      I am a novice and need help.
      Thank you!
      Natalie
    • kwaoru
      By kwaoru
      Hi,
       
      I have been using DMS and pagelines.
      I am facing to a huge trouble with the appearance of one of my page on mobile (smart phones) built with pagelines.
      However I haven’t come to any solutions to organise either edit the appearance of mobile view to look neat or deactivate the responsive function. 
      Now it looks totally messy on the phone...
       
      1. Is there any way to edit the appearance of the mobile version (responsive theme)?
      2. Is there any way to deactivate responsive function?
       
      If I could receive support from you to go thorough this process I would be happy to be a pro member. 
       
      Looking forward to hearing from you.
    • kwaoru
      By kwaoru
      Hi,
      I desperately need to deactivate the responsive function on mobile for reasons. It looks so messy with the responsive look on mobile and not navigating or informative at all as it is. 
      I searched for solutions online and tries some of those that I found but nothing worked out. Also I found a previous post on this forum says that this theme pagelines DMS is not meant to be build to deactivate the responsive function... 
      Also tried with widget such as WPtouch to edit the mobile look a little more informative but as I am using "single page" theme on pagelines, the frontpage(main page) never appears on those app.
      Seems like not compatible?
      If there is no way to deactivate responsive function or I'll have to recreate another page just dedicated for a mobile page? or change the theme completely and build a page from scratch?
      I have been searching for this for two days already...
      Could anyone wise and kind out there, please help me?
       
      Thanks,
×