Moxie (bemocked) wrote in component_help,
Moxie
bemocked
component_help

  • Mood:

still looking for help... using the tutorial code to customize vertical spacing of components

Hi

Admittedly, I am newish to customizing with S2. I am trying to use the code that kunzite1 provided HERE to modify the space between my components.

I am confused by the final bit of code:

then, we need to add stuff to Page::print_custom_head()
add:
.verticalSpacer{
height: number of pixelspx;
}

...yes, I realize the "then we need to add..." portion is instructions, and NOT part of the code - ant that I am to swap an actual number for "number of pixels".


My problem: Where exactly are the "Page::print_custom_head()" lines? Is this in function print_stylesheet(), function print_free_text(Page p), function print_profile(Page p), or elsewhere? Does it belong in the theme layer?

Or is there a simpler mechanism to increase the vertical spacing of the components?

...any guidance would be greatly appreciated. Thanks.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 3 comments