[Resolved] parallax text background box

Home Forums Support [Resolved] parallax text background box

Home Forums Support parallax text background box

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1170602
    Antonella

    Dear all,
    I have tried to search everywhere but I am not able to find a solution to my problem.

    I am using Pixel site library and the parallax effect.
    Because of the background image I have chosen for my homepage, I am not able to see the text very well. Would it be possible to have the text on a background box and have this scrolling together with the text?
    Thanks for helping!
    Antonella

    #1170633
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can edit the original topic and use the private URL field.

    Let me know πŸ™‚

    #1170636
    Antonella

    Thanks Leo,
    I was trying to get an effect similar to
    https://my.studiopress.com/themes/wellness/#demo-full
    where the text is on a white box.
    Thanks

    #1170973
    Leo
    Staff
    Customer Support

    Are you using the page hero?

    If so you can do something like this for the content:

    <div class="hero-content">
        Page hero content here
    </div>

    Then target it with some CSS:

    .hero-content {
         background-color: #ffffff;
         padding: 20px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps πŸ™‚

    #1171809
    Antonella

    Thanks sooooo much Leo!
    It works perfectly!
    Cheers
    Antonella

    #1172119
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

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