Forum Replies Created
-
AuthorPosts
-
August 20, 2023 at 7:11 am in reply to: Making Author Pro front page full width without a plugin? #507616AS7Participant
Hello all,
Real sorry, somehow I don't get email alerts for this topic. So again, I just saw your replies @brycejune and @Jelly4567 🙂 Thank you for taking the time!
OK, actually I was coming back here to publish a little fix that I found. But let me first reply to your replies:
---
@brycejune: Just a question: you write "It's important to create a child theme before making any modifications to the theme files. This way, your changes won't be overwritten when the theme is updated", but isn't Author Pro already a child theme? Doesn't that mean that I can edit it at will, and when Genesis updates it won't overwrite anything?Anyhow, Author Pro has front-page.php, like you said! But it doesn't contain any "main content section". In fact it doesn't contain any <div> or <section> tags...
... It's possible that I'm blind to something obvious, but I'm already stuck here! :p
I know very little about php.---
@Jelly4567: Thank you! But I searched for <div id="content" class="site-content" role="main"> in front-page.php, and also in functions.php, and it's nowhere to be found. I just searched for "main" in the two files, and that doesn't exist either.
Author Pro seems to be working differently?---
In the meantime, I tried to find a CSS-based solution. And after some searching (with the help of the web browser Inspector), I seem to have solved the problem with a CSS line. Here it is:
.flexible-widgets.widget-area.widget-halves {
display: inline;
}When I add this code to the site's CSS, it makes the front page content full width.
It doesn't affect any of the other pages.
It seems to work on screens of all sizes.So... is this a good solution? Or am I setting myself up for trouble down the line? 🙂
May 14, 2023 at 4:26 am in reply to: Making Author Pro front page full width without a plugin? #507403AS7ParticipantThank you justinbenz45, just saw your reply. I'll keep you posted (when I get to it!) 🙂
April 9, 2023 at 8:08 am in reply to: Making Author Pro front page full width without a plugin? #507212AS7ParticipantHello Mikcrjgf,
Thank you for your assistance! It looks like a plan, I'll try your method (when I'm able to take some time for all this tinkering 😀) and if I find the solution I may post it here to help other users.
Cheers,
AS7
-
AuthorPosts