Old post, yet its needed to know the solution and how-to.
Specially for RTL
experience,
As @Mayeenul Said, first create a child theme (Video)
Then add to your CSS file
in child theme the following:
.sidebar {
float: right; // the side bar will be on right
margin-left: -100%;
max-width: 413px;
position: relative;
width: 29.4118%;
}
.main {
display: block;
float: left; //the content will be on left
margin-right: 29.4118%;
width: 70.5882%;
}
Please note that you might need to change the sidebar’s and main’s selector based on your working theme, ie. .sidebar
could be #theme-sidebar
and .main
could be #theme-main
, etc.
Related Posts:
- HowTo: Add Class to Sidebar Widget List-Items
- How to wrap the widget content with a div or get the widget title outside?
- Add class to before_widget for all widgets with a dropdown and a counter
- How to get the name and description of a sidebar in theme?
- Registering Sidebars and Sidebar Widgets. Sidebar Widgets Not Displaying
- How the WordPress sidebar works
- Can not Remove Archives and Meta from Sidebar
- How to allow admins to create a sidebar from the admin
- How do I display the “Archives” widget layout (sidebar) in WordPress by ‘year’ then by ‘months’?
- Best practices: Custom theme sidebar menu – hardcode or widget?
- how can I remove the sidebar from my wp homepage [closed]
- Toggle Sidebar Display
- searchform.php override not working
- Displaying details of a post in a sidebar
- “Theme without sidebar.php is deprecated”
- Load sidebar template just once to prevent multiple animations
- How is the `get_sidebar` function meant to be used to call a 2nd sidebar?
- Should I create multiple sidebars, or use or one dynamic sidebar with logic to determine it’s abilities?
- How can I hard code my sidebar?
- Should is_active_sidebar() always be used around dynamic_sidebar()?
- Load different single.php templates according to post layout selection
- A post with a clear:both in its css destroy the theme design, and the sidebar is moved to the bottom
- How to add sidebar to Isola theme? [closed]
- How to Emulate Default Navigation Menu Behaviour in a Custom Theme?
- Allow different tags in widget titles
- Changing sidebar.php and footer.php depending on URL
- Recommended sidebar / content widths
- Hide/disable sidebar using shortcode?
- How to setup sidebar modules to use jQuery Accordian
- Sidebar not displaying (theme development)
- Cold Fusion to WordPress
- Display problems in admin dashboard when creating a new theme from scratch
- Undefined index: custom_sidebars
- Best strategy for providing theme options using customizer
- Creating a Playlist of Widgets
- How to display only some widgets of a sidebar?
- How to Remove Sidebar when get_sidebar() is not get called in page?
- WordPress two sidebar layout or theme
- Conditional tags issue for multiple is_page() conditions in sidebar.php
- Incorrect sidebar showing on WooCommerce Store page [closed]
- Replacing static code in a template file with a sidebar and widgets?
- Getting failure when using filemtime() with wp_enqueue_style
- How to override pluggable function in theme?
- How bad is it if I write AJAX functions using wp-load.php?
- How to know if a child theme is being used?
- How to modify an image block in Gutenberg WordPress 5?
- WordPress Settings API error
- How do I show sticky posts on a static front page that also contains content?
- Any walker causes blank menu?
- Why is save_post triggered even when I havent saved the post
- Add custom field automatically to custom page types
- Similar Posts – NO plugin
- How to add multiple custom widget areas
- Add social icons in a theme through custom admin menu
- file_get_contents Not allowed in Themes?
- Best approach to create sites with Modular Content? [closed]
- front-page.php is not Listing in Static Front Page List
- Change file name from wp_generate_attachment_metadata
- How do I get the next page of posts link?
- display 20 lines only with the_content
- How do I remove twentyten without ruining what I did?
- Custom theme not visible in Appearance
- Use debugging for add action events
- Obtain full v2 REST url?
- Including Javascript options
- Show warning if plugin is missing
- How to To Filter wp_enqueue_script() Scripts on Some Pages
- Does WordPress theme customisation API support section hierarchy?
- Custom Theme Bootstrap
- How does a mobile WordPress theme differ from a simple theme?
- How to provide support for [gallery] shortcode?
- WP_Customize_Color_Control omitting # symbol
- Add “Delete” button to my Theme
- Using My Own Classes On Wp Unit Tests
- Theme support title tag – how to replace the default WP separator (with a filter)?
- Javascipt issue on custom theme
- Why would changing a child theme to a normal theme pass a Template is missing. error
- In a Gallery with limited image posts, how do I not limit images on single post?
- is using the_posts_navigation() required?
- LESS not working in WordPress [closed]
- How to call a widget in a loop at a specific iteration value?
- Read more doesnt work with query posts
- help needed for suit designing tool
- Dynamic Image Links Depending on Excerpt/’Single Post’ View
- Custom fields for custom post types
- How to create nested array attribute
- Customizer API Multi Sections in single Panel
- How can i Limit My Wp Theme To Only One Site
- add class to all images inside the content
- Creating a theme just to deploy a single page
- Make a custom field in admin post.php read only
- Weird ‘theme update’ error [duplicate]
- Custom Infinite-post-scrolling in a custom theme:
- Alternating CSS classes for dynamic content [closed]
- Twenty Fourteen Theme – Moving left sidebar to the right
- WordPress Loop with Custom Post Type for Bootstrap Accordion [closed]
- How do I make it super customisable?
- Isotope overlapping .items because of featured images – HELP! [closed]
- Theme.json: creating different sections of the color palette
- Not Able to Access Terms Under Custom Taxonomy Archive