$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>how do i get my sidebar above content on nanomag theme|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

how do i get my sidebar above content on nanomag theme

matteradmin10PV0评论

my site when it loads in a responsive mode the sidebar is below almost everything else is there any way I can move it up a bit, any css i can put the theme is nanomag

my site when it loads in a responsive mode the sidebar is below almost everything else is there any way I can move it up a bit, any css i can put the theme is nanomag

Share Improve this question asked Mar 29, 2018 at 2:09 user129261user129261 1
Add a comment  | 

2 Answers 2

Reset to default 0

You could use some absolute positioning CSS for that media query for that class that displays the sidebar. It all depends on how the theme code is written, as does the actual name of the class that the theme uses. One tutorial on that subject is here: https://www.w3schools/css/css_positioning.asp

You might be able to put your CSS in the Custom CSS of the Theme Customization, making sure you add the proper media query statement so it doesn't affect other screen resolutions. Otherwise, you'll have to do a Child Theme, so you don't mess with the theme's CSS.

In most of the themes, sidebar are shown at bottom on responsive rather than top of content. You can move that by using media query statement on css section. Use proper position and styles at the required responsive one. You can add your custom css on Dashboard > Appearance > Customize and find Additional CSS. I found this article on google where you can get some hints.
https://techtabby/move-sidebar-content-website-wordpress-genesis/

Post a comment

comment list (0)

  1. No comments so far