in Education by
I've found the following CSS code that I pasted in the child theme's css stylesheet, but it doesn't work. /* Mobiles in Potrait mode */ @media only screen and (max-width : 320px) { .widget-area { float: left; width: 100%; background: #E3E3E3; } } /* Mobiles in landscape mode */ @media only screen and (min-width : 321px) and (max-width : 480px) { .widget-area { float: left; width: 100%; background: #E3E3E3; } } You can check my WP website JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
.widget-area by default is contained in .sidebar-container so you are targetting the wrong class. You can read more WP-Beginners and WP-Codex Update: Based on the HTML of your website you will need: .right-sidebar .content-area { width: 100%; float: left; margin-right: 5%; } .right-sidebar .widget-area { float: left; width: 100%; background: #E3E3E3; } The styles you added were overwritten by the body class .right-sidebar Thanks.

Related questions

0 votes
    I've found the following CSS code that I pasted in the child theme's css stylesheet, but it doesn ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 16, 2022 in Education by JackTerrance
0 votes
    I am facing an wiered problem while adding new Page in the wordpress. Steps: Create a new page with ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 1, 2022 in Education by JackTerrance
0 votes
    Header are the text images included _____ on the page in word processor. A. top B. bottom C. both A&B Select the correct answer from above options...
asked Nov 26, 2021 in Education by JackTerrance
0 votes
    How Can You Display the Top Five and Bottom Five Sales in the Same View?...
asked Mar 30, 2021 in Technology by JackTerrance
0 votes
    I want my browser to open my local images and to place them at the center of my browser. The ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 20, 2022 in Education by JackTerrance
0 votes
    search about some programming language on the internet make a small project about this in computer notebook Select the correct answer from above options...
asked Dec 30, 2021 in Education by JackTerrance
0 votes
    search about some programming language on the internet make a small project about this in computer notebook Select the correct answer from above options...
asked Dec 28, 2021 in Education by JackTerrance
0 votes
    You can create your own style by clicking on the __________ button located at the bottom of style pane. * a.style ... d.none of these Select the correct answer from above options...
asked Dec 15, 2021 in Education by JackTerrance
0 votes
    How we can control the number of records display per page in Oracle Reports?...
asked Nov 22, 2020 in Technology by JackTerrance
0 votes
    State T' for true and F' for false statements: 1. Home button is used to display the home page. 2. ... be used to pay bills. Select the correct answer from above options...
asked Dec 10, 2021 in Education by JackTerrance
0 votes
    Which of the following malware is designed for advertising, such as pop-up screens? (1)Viruses (2)Ransomware (3)Adware (4)Spyware...
asked Mar 22, 2021 by JackTerrance
0 votes
    To exert control, you mentioned intervening top to bottom. Is that with AAD at the top and SharePoint sites at the bottom?...
asked Mar 10, 2021 in Technology by JackTerrance
0 votes
    I am currently working on a Flutter app, and I have the screen divided into two regions. The left ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 5, 2022 in Education by JackTerrance
0 votes
    1. A bar that displays the namesof all the open windows at the bottom of the desktop Select the correct answer from above options...
asked Dec 20, 2021 in Education by JackTerrance
0 votes
    I've got a bit of a taxonomy working in my WordPress site that deals with products. I've got ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 12, 2022 in Education by JackTerrance
...