Fixed background image in "perfect"

Home Forums All Other Themes Fixed background image in "perfect"

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #56933
    Helmuth FaraHelmuth Fara
    Member
    • Topics: 22
    • Replies: 18
    • Total: 40
    Member since: November 26, 2015

    Hi there!
    At the demo version of “perfect” some background pictures are fixed. f.e. at the “perfect boxes” section. how can i manage this? thanx a lot.

    Thx.

    #56956
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30633
    • Total: 30633
    Member since: August 16, 2013

    Hi Helmuth,

    You have to set background image for the section via Appearance>>Customize>>Front Page>>Sections

    Then add this code in Appearance>>Customize>>Basic>>Custom CSS Box

    .home4_section_area_bg{ background-attachment:fixed !important;}

    (home4 here is section number. If you want background in section 2 then you have to add this code: .home2_section_area_bg{ background-attachment:fixed !important;})

    Regards,
    Dave

    #57043
    Helmuth FaraHelmuth Fara
    Member
    • Topics: 22
    • Replies: 18
    • Total: 40
    Member since: November 26, 2015

    Thanks, it works so far.

    But: when i add two codes, f.e. for section 2 and 4, only the first code works. how can i make 2 or more sections working?

    #57071
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30633
    • Total: 30633
    Member since: August 16, 2013

    You have to add code like this:

    .home2_section_area_bg, .home3_section_area_bg, .home4_section_area_bg{ background-attachment:fixed !important;}

    Regards,
    Dave

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