Jump to content


Photo
- - - - -

Classic Nav Padding issue: Knowledgable Human Needed

classic navigation padding pagelines

Best Answer hottheo , 18 July 2013 - 01:49 AM

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

Go to the full post


  • Please log in to reply
8 replies to this topic

#1 hottheo

hottheo

    Advanced Member

  • Members
  • 46 posts
  • Locationaboard the mothership.
  • Framework Version:2.4.1
  • Country: Country Flag

Posted 15 July 2013 - 11:14 PM

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



#2 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 15 July 2013 - 11:37 PM

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 -

Please Login or Register to see this Hidden Content



#3 hottheo

hottheo

    Advanced Member

  • Members
  • 46 posts
  • Locationaboard the mothership.
  • Framework Version:2.4.1
  • Country: Country Flag

Posted 15 July 2013 - 11:56 PM

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 



#4 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 16 July 2013 - 12:15 AM

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-

Please Login or Register to see this Hidden Content

 

There's also an overview of using css inside the framework at -

Please Login or Register to see this Hidden Content

in case you've not dealt with css before inside pagelines.



#5 hottheo

hottheo

    Advanced Member

  • Members
  • 46 posts
  • Locationaboard the mothership.
  • Framework Version:2.4.1
  • Country: Country Flag

Posted 16 July 2013 - 02:34 AM

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


#6 Rob

Rob

    One Smart Egg

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

Posted 16 July 2013 - 01:46 PM

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

Please Login or Register to see this Hidden Content

 

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



#7 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 16 July 2013 - 01:47 PM

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.

Please Login or Register to see this Hidden Content

 



#8 hottheo

hottheo

    Advanced Member

  • Members
  • 46 posts
  • Locationaboard the mothership.
  • Framework Version:2.4.1
  • Country: Country Flag

Posted 18 July 2013 - 01:49 AM   Best Answer

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



#9 Rob

Rob

    One Smart Egg

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

Posted 18 July 2013 - 09:58 AM

Happy to hear you resolved it. 







Also tagged with one or more of these keywords: classic, navigation, padding, pagelines