• Hi,

    I’ve been trying to build a search.php file for my website over the last few days but I’m not able to get the sidebar and the results to align properly. I’m using the following CSS to target the results on my results page but it doesn’t scale properly along with the rest of the webpage:

    .kad-sidebar {width: 20%; float: right; margin-left: 0; margin-right: 5%;}
    .site-content {width: 70%; float: left; margin-left: 2%; margin-right: 0;}

    The site-content part aligns the results which I intend to display on the left of the page. How can I get the results and the sidebar to scale properly with the rest of the page? I’m extremely sorry I won’t be able to provide a link to the website.

Viewing 1 replies (of 1 total)
  • It’s impossible for me to help with the css without seeing the page. The theme doesn’t have a .site-content class so if your adding on then I would need to see all your adding.

    You can post here when you get your site live and I would be happy to take a look at your custom template.

    Kadence Themes

Viewing 1 replies (of 1 total)
  • The topic ‘Search results alignment’ is closed to new replies.