In this tutorial. i’ll show you how to move the Call to Action box next to the slider on the front page of the Executive Pro theme by StudioPress.
Janet asked: I want the slider to be 60% and the CTA widget to be 40%. How do I get them to be inline?
Here’s the result:
Re-Code Front Page Template
You’ll need to reposition the home-top widget after the CTA widget in your front-page.php template file.
CSS Code
You can then add this code near the end of your child themes style sheet or modify the existing code with these new rules.
.executive-pro-home .home-cta {
float: right;
background-color: #222;
color: #ddd;
padding: 60px;
padding: 6rem;
width: 40%;
}
.executive-pro-home .home-slider {
float: left;
width: 60%;
}
.executive-pro-home .home-cta .one-fourth {
width: 100%;
padding-top: 80px;
float: left;
}
.home-cta a.button {
float: left;
}
Genesis Responsive Widget Settings
These are the settings used to display the slider the same as what you see in the screenshot.
Was This Tutorial Helpful?