Jump to content

Archived

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

Fabio Duranti

Space between columns - Tip

Recommended Posts

Fabio Duranti    0
Fabio Duranti
I'm doing a lot of experiments with DMS before finally adopting it, I like to do a bit of debugging and suggest improvements.
 
For example, it would be interesting to choose the space between the columns that currently can not be modified, except by editing the file variables.less from line 102 to line 111.
 
In practice, the width of 1/12 of the columns inserted in the file variables.less, is determined by the width of the space between them with the formula:
(100 - (space_columns * 11)) / 12, both in the case of what percentage or per pixel.
A function then adjusts all, based on the number and characteristics of the columns.
 
A useful option would be to make editable space between the columns (for example, I love to keep them tighter), and let the system recalculate the percentage or the number of pixels of the correct width of the columns.
 
Given the structure of the system (very well done, congratulations!), It is easy to implement this useful option in "Global Options".
 
What do you think?  :thumbsu:
Ciao.

Share this post


Link to post
Share on other sites
Rob    547
Rob

Fabio,

 

It sounds great and I'll recommend it to our developers, but please keep in mind that the system is based on  Twitter Bootstrap. so the control over the spacing between columns, for example, is somewhat out of our control.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

  • Similar Content

    • dbrowne02
      By dbrowne02+
      Hi, I am trying to figure out how to create columns where the text flows into the next column, like the attached, and am flummoxed. Does anyone have any ideas? 

    • tkpagelines
      By tkpagelines+
      Hi there,
      how to make the corners of boxed columns round ?
      Any suggestions ?
      Thanks
    • JawDesigns
      By JawDesigns
      Hi to all,
      I always have this problem and I'm unhappy with the fix I usually apply for aligning columns at the bottom (see attached).
      For example: I use two text boxes side by side. Both text columns have a background colour. Text column 1 has 200 words and text column 2 has 300 words.
      How do I easily get them to align at the bottom without using a min-height declaration? I want to get text column 1 with 200 words to fit the height of text column 2 if that makes sense?
      Thanks for any help on this!
      Cheers,
      James

    • jeomiland
      By jeomiland+
      For quite a while I have worked around a refresh issue but it seems quite convoluted and near impossible to explain to clients. According to a lesson in PagelinesAcademy, it is because of javascript but there must be a more elegant way to deal with this. Here are 2 scenarios:
      1) Custom CSS: I add a css style to custom css, then have to select Edit in a component, then click in 2 text boxes to get the Refresh icon in the tools pallet to show. I click Publish a couple times then Refresh and hope that the new CSS code is still there - half the time it is not, so I have to redo a couple times till the system keeps it. Your "Tip: Hit [Cmd⌘+Return] or [Ctrl+Return] to Preview Live" at top of CSS window does nothing on my Macbook Pro.
      2) Home page at: http://199.119.180.102/~harmhill/newsite/ has 2 columns for main template area. In larger right column, I need to add a 3 column above the WPloop and below the image, which are both in that right column. I can drag the 3col section to the right place and it says "Section Added! Refresh page to view." Have tried several ways to get the section to stay and refresh but nothing works! Using cmd-r (refresh) in Mac Chrome, not my trick above... can't get the 3col section to stay on refresh, so no way to add the 3 text boxes required next.
      So 2 questions:  1) what is best way to refresh a page and preserve CSS and sections added and 2) can you put a 3-col inside 1col of a 2-col?
      thanks
    • nandorj78
      By nandorj78+
      Hi, I'd like to know if there is way to put the Hero box right under the column above it. The way it is now (see attached picture) has a lot of blank space. I can't seem to move it up a bit fo fill in this empty space.
×