Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #601743

    I am building a site that in many sections is divided into 1/5th, 3/5th, 1/5th. The content in the 3/5th section I want to scale and resize based on the sizeof the browser window. Howeve the columns on the side I was advertising in and to remain a consisten number of px wide. Is there a way to prevent a column from going below a specific width or to set it to a width permanently?

    #601833
    #601975

    Hey!


    @begrafiks
    is totally right. If you elaborate on the changes you would like to make and post the link to your website we can help you better. After turning on custom CSS field for ALB elements, you can simply edit your column and give it a custom CSS class


    @begrafiks
    merci beaucoup! :)

    Best regards,
    Yigit

    #610888

    Ok, so I enabled the custom CSS classes and ALB and set the class name to “advertising-column”.

    Now I want the layout of the page to perform in this manner:

    Total page width is 1200px, I have 3 columns currently setup on the homepage. 1/4, 1/2, 1/4.

    But I want: static 300px, 600px (remaining), static 300px.

    If the page shrinks below 1200px, the middle column shrinks while the two outside columns stay the same. When the middle column reaches 200px it can transition to mobile view.

    I cant seem to get the CSS to work well.

    #611723

    Hi!

    Specify the width of the 1/4 columns:

    #custom-section .flex_column.av_one_fourth {
        min-width: 300px !important;
        width: 300px !important;
    }

    Replace “custom-section” with the actual Section ID of the grid or color section. You may need to use css media queries.

    Best regards,
    Ismael

    #613465

    This doesn’t appear to be doing anything at all… I am unsure how to use media queries.

    #615211

    Can someone login and set this one example up for 1/4 column and I could then figure out the rest? Thanks!

    #615966

    bump, anyone? please.

    #615986

    Hi!

    Sorry for the delay.

    We are working on your ticket please wait while we update the results here soon.

    Cheers!
    Vinay

    #615987

    Thank you!

    #615991

    Hey!

    Please check the link in private for example wee have setup. We have added the blow css in Quick CSS.

    /*fixed width */
    .fixed-width {
      width: 500px !important;
      max-width: 500px !important;
      min-width: 500px !important;
    background:gold;
    }
    
    @media only screen and (max-width: 767px) {
    .fixed-width {
      width: 200px !important;
      max-width: 200px !important;
      min-width: 200px !important;
    }}

    Regards,
    Vinay

    #616017

    Thank you! This I can work with!

    #616046

    Hey!

    Glad we could help! We have put together some useful info about enfold theme please feel free to check it out here – http://kriesi.at/documentation/enfold/

    Regards,
    Vinay

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Set Column Width in px and not %’ is closed to new replies.