Accordion Plugin – Responsive Header Background

Ticket for: Accordions
0
Accordion Plugin - Responsive Header Background 1
Anonymous
May 19, 2022 10:12 PM 2 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

Hi, How can I make the header background responsive on mobile? I have an image as my header background but it is not responsive to mobile.

0 Subscribers
Submit Answer
Please login to submit answer.
2 Answers
Sort By:
Best Answer
0
Accordion Plugin - Responsive Header Background 2
Azizul Raju
May 22, 2022
Flag(0)
Hi, You can write custom CSS. When you're editing an accordion there is an option to write Custom scripts. just add the following CSS code. Custom Script options: https://i.imgur.com/FRVUI4X.png CSS Code: #accordions-11243 #header-1646938886393{       background-size: 100% 100% !important; } Output: https://i.imgur.com/LtQ2Ntv.png  
Accordion Plugin - Responsive Header Background 3
Nicholas You
- May 28, 2022 03:01 AM
Flag (0)
0

For the mobile phone resolution.. what is the recommended size? It should appear clearly on both mobile and desktop.

Accordion Plugin - Responsive Header Background 4
Azizul Raju
- May 23, 2022 12:06 PM
Flag (0)
0

replace the old CSS code with this one to apply all accordions.
CSS:
#accordions-11243 .accordions-head{
background-size: 100% 100% !important;
}

for a very small screen I would suggest you to use a different picture. You can easily set different picture based on screen size by CSS.

Accordion Plugin - Responsive Header Background 3
Nicholas You
- May 23, 2022 06:21 AM
Flag (0)
0

Also how to apply this to all of the headers on the page?

1+ more comments. Sign in to Reply
Replying as Submit
Best Answer
0
Accordion Plugin - Responsive Header Background 2
Azizul Raju
May 21, 2022
Flag(0)
Could you please share the website URL so that we can check it online?
Sign in to Reply
Replying as Submit