Archived topic
Border inside widget?
5 replies · Started by Allen on April 20, 2021
hi
How can I have border inside the widget?
Thanks!
Hi John,
Try to follow the steps:
1. Add this CSS:
.inside-right-sidebar .widget {
border: 1px solid #555;
margin-bottom: 20px;
}
.inside-right-sidebar {
background-color: #FCEFDC;
padding: 40px 20px 40px 20px;
}
2.Remove the empty paragraph:
[redacted by request of the site owner]
Let me know :)
hi Ying
it worked, thanks!
How can i have a fixed 1200px width for my site (do not response to screen size?)
thanks!
Hi there,
I've redacted the screencast from Ying's reply. :)
and how can i have a fixed 1200px width for my site (do not response to screen size?)
Can you explain a bit more on what you're trying to do? Do you wish for the site to not have a mobile view?
If so, try this PHP snippet.
add_filter( 'generate_meta_viewport', function() {
return '<meta name="viewport" content="width=1200">';
} );
Here's how to add PHP - https://docs.generatepress.com/article/adding-php/
hi
i wish to have a fixed content width and do not hide size bar in smaller size screen.
As shown in the video attached.
Thanks
I still don't quite get what you are trying to achieve.
Do you want the sidebars to stay where they are and have the whole website horizontal scroll on tablet and mobile instead of moving the sidebar down?
Let me know.