Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #316830

    Hi

    How can I have an image run the full width of the page ? And if I set height to 100% of browser what exactly does that mean in parralex mode?

    #316971

    Hi codecreative!

    Please add a color section element to your page with a unique ID ( http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2013/12/color-section-ID.png ) and then add image element inside it and then add following code to Quick CSS in Enfold theme options under General Styling tab

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

    Best regards,
    Yigit

    #317274

    Hi Yigit

    This isn’t appearing to work as a full width image can you look at http://www.codecreative.uk for me?

    It’s the image underneath the contact form

    #317292

    Hi have you logged in and changed anything?

    #317322

    Hi!

    No i have not logged in or changed anything. Can you please try re-creating the section? Color section element is currently inside another container while it should not be

    Cheers!
    Yigit

    #317398

    I’m not sure why. What is the name of the container it shouldn’t be within ?

    #317402

    Hey!

    Container should be inside your color section element. Your color section element is not fullwidth now. Can you please try de-activating all active plugins and check if that helps?

    Best regards,
    Yigit

    #317416

    hmm i can see it working fine on this page http://www.codecreative.uk/what-we-do/

    looks like its something to do with my home page template file

    #317427

    How strange I actually took the content from the page.php template and pasted it over my own custom template (I didn’t replace the template naming at the top of course)

    And it still failed to do have the image at full width it

    #317443

    Am I doing the right thing using page.php as a template for a page template?

    I’ve simply just opened page.php and saved as page-alternativehome.php and then I placed this in the top of the file

    <?php
    /*
    Template Name: Alternative Home
    */

    And uploaded the file to my child folder.

    Then I set it as my page template and the issue is still there of it being within a container. But if I use the default template it isn’t

    What am I doing wrong my friend?

    #317566

    If you go on home, and then click on what we do, the two pages are basically identical. What we do uses the “default template”. The home page uses a template file that is basically page.php saved as a new file name and given a new template name. The two pages should be identical. For some reason when using your own template file the color element is being wrapped in a container. Please help :(

    #317570

    It seemed setting background property, Stretch to fit fixed it :)

    #317575

    In fact it had nothing to do with that. In order for the color element to be full width it needed to not be the very first element within the page content

    #317824

    Hi!

    It doesn’t matter if it’s the first or last element on the page. The Color Section element will always be full width unless there are third party scripts or html codes that are messing up with the markup.

    Cheers!
    Ismael

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