Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #329944

    How would I add an image css class to an image in the default editor order for it to fill the full width of the screen. I would like to work in the default editor without necessarily using the advanced layout editor, and be able to designate images as full width and responsive.

    Thanks.

    #330347

    Hi Randall!

    You can try to add this CSS to the image:

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    Hope that helps.

    Cheers!
    Andy

    #330609

    Do I need to create a class for these attributes and place that in my custom CSS, or can I just input the attributes into the image css class field in the image?

    Thanks. Randall

    #330980

    Hi!

    You can turn on Custom CSS field for ALB elements and give your elements a unique custom CSS class and target them using Custom CSS code in Quick CSS field – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/
    Images however will not be displayed fullwidth because of the container. You can add your images inside a Color Section element with a unique ID – http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/color-section-ID.png
    and then add following code to Quick CSS in Enfold theme options under General Styling tab

    #your-custom-id .container { width: 100%; margin: 0; }

    Cheers!
    Yigit

    #331269

    Thanks Yigit, however this doesn’t seem to be working for me. I put this in my Quick CSS:
    #immersive .container { width: 100%; margin: 0; }

    And then put “immersive” in the Section ID of a color section, but the image contained within the section is not full screen:
    http:www.postrealityshow.com/customidwide

    Also, I was planning on using the color section Section ID’s for unique anchors, so a universal css script might not work for me.

    Best,

    Randall

    #331809

    Hey!

    Please use following code instead

    #immersive .container {
    width: 100%;
    display: block;
    padding: 0;
    }

    Best regards,
    Yigit

    #331833

    Thanks Yigit, but this is still not working:
    http:www.postrealityshow.com/customidwide
    the image is still not full screen and is positioned in the upper left area.

    #332176

    Hey!

    Please set the page’s Template to Blank | No Header, No Footer. Disable the Title Bar Settings. Add the Fullscreen Slider.

    Cheers!
    Ismael

    #333860

    Hi Ismael, I wasn’t using a fullscreen slider, I was just trying to insert an image inside of a color section. Will it not work that way?

    #333865

    Hi!

    Please add following code to Quick CSS as well

    #immersive .container { max-width: 100%; }

    Cheers!
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.