New Landing How can we help? Themeforest Theme Support Flexform Adding picture as a background in raw html won't work as it should. Please help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Flexform
  • #5677
    Green thumb
    Member
    Post count: 62

    Hi there,

    I was trying to add a a picture for my background for a spesific text area.

    So I found raw html in swift builder. I’ve wrote some text there all fine and working, and for background (for that spesific area) I set my picture. But final look was that background picture was not in that area but all around the page.

    This is raw html code:

    <html>
    <head>
    </head>
    <body background=”watermark.png”>
    <p> some text </P>
    </body>
    </html>

    In the attachment is seen that background picture is not taking effect for “some text” but all around. How do I set background picture for text area if I can’t with raw html how can I?

    I’ve also attached swift builder screen.

    #5777
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hi,

    It won’t work like that, as you’re declaring a new HTML document inside the already existing one (your site).

    Try adding a text block with the content you need, set an extra class on it and style that class with custom CSS. Let’s say the class is called custom-bg-1

    Add this to the custom CSS theme option:

    .custom-bg-1 {
      background: url("http://mysite.com/wp-content/uploads/2013/05/myimage.jpg") center top no-repeat;
    }

    Make sure you use the correct path to the image.

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #5804
    Green thumb
    Member
    Post count: 62

    Worsk like a charm!

    Great help Cosmin.

    I love this custom class feature now 🙂

    More customizations to come 😀

    This theme ROCKS as does support!

    #5810
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Thanks, happy to hear you like the theme and support 🙂

    Regards,
    ————————————————————————————————————

    Cosmin
    Support Assistant

    #31287
    lenah
    Member
    Post count: 11

    Hi,
    I am trying to get a background picture in the body and then transparent colour on text box.
    Tried the tips above – but could not get it to work.

    If i understand the issue above I think it should be the solution – or are there any other tips?

    #31771
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    @lenah – from the sounds of it, you’d like something a little bit different. It would be best to open your own topic for this, with some more details.

    – Ed

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register