Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter seenandnotseen

    (@seenandnotseen)

    I also saw that a patch was posted in the forums, but I don’t know how to use that, so any info about that would be helpful too.

    Thanks!

    Thread Starter seenandnotseen

    (@seenandnotseen)

    P.S. That is not the actual url of my piwigo site. I didn’t realize that www.remarpro.com would turn it into a live link – sorry!

    Thread Starter seenandnotseen

    (@seenandnotseen)

    Hi Slocum Design Studio,

    Thanks so much for your help!

    I just have one question.

    Regarding what you said here:

    “You’ll also want to add a CSS class of full-width-content-wrapper to the <section class=”content-wrapper front-page-content front-page cf”> element. That CSS class will make your content stretch across the layout as requested.”

    Can you be more specific about how to do this? I’m very new to both CSS and php. Where should I put the text “full-width-content-wrapper” within this part of front-page.php?:

    <section class=”content-wrapper front-page-content front-page cf”>

    Thank you again!

    Thread Starter seenandnotseen

    (@seenandnotseen)

    Here’s an excerpt of the code in style.css showing where I was able to modify the width of the main content area and the sidebar:

    In the “Page Content” section:

    article.content{
    width: 65%; /* <—- I changed this to 96% */
    float: left;
    margin-bottom: 40px;
    padding-right: 1.5%;
    border-right: 1px solid #f2f2f2;
    }

    And in the “Sidebar” section:

    aside.sidebar{
    width: 31%; /* <—- I changed this to 0% */
    /*margin-top: 1em;*/
    padding: 0 0 0 2%;
    float: right;
    }

    Thread Starter seenandnotseen

    (@seenandnotseen)

    I should note that as well as removing the sidebar, I am also trying to make the main contents of the page stretch out to fill up the space that was taken up by the sidebar.

    I have found that I can achieve this “stretch” by editing the width of the content area and the sidebar in style.css, so that the sidebar is 0% wide. The problem with that, though, is that (as I understand it) style.css governs all posts and pages, etc., so when I change that it effectively hides the sidebar on all of my pages, which I don’t want.

    Now, this would not be an issue if I could just make my front page full width and have that take care of it, but as I mentioned earlier, for some reason setting a page to full width doesn’t work when I use it as my front page.

    So I guess my other question is: Is there also a way that I can either A) change the width of the content area and sidebar on JUST a specific page so that my content stretches all the way across, and have that hold true even when I use that page as my front page, or B)somehow get the full width template setting to work / show up on a page that I use as my front page?

    I hope this makes sense.

    Also, If there is a way for the theme author to update the theme so that we can use the full width template on front pages, that would be really helpful!

    (I don’t know enough about the code or about WordPress to know whether this is a problem that is specific to this theme or whether it is just something that is unavoidable in WordPress).

    Thread Starter seenandnotseen

    (@seenandnotseen)

    Hi,

    Thanks for your response! Will this code make the sidebar appear only on the front page? I would like to make the sidebar NOT appear on the front page, but still appear on other pages. Can I modify this code to do that?

    Thanks!

    Thread Starter seenandnotseen

    (@seenandnotseen)

    Ok, I was trying some things and it looks like this worked (I don’t know if it’s the best way to do this or not):

    I was able to stop featured images from appearing at the beginning of my posts by “commenting out” this bit of code in loop.php:

    <?php sds_featured_image(); ?>

    so it looks like this:

    <!– <?php sds_featured_image(); ?> –>

    Thread Starter seenandnotseen

    (@seenandnotseen)

    (I realize that I should create a child theme before I change any of the code.)

Viewing 8 replies - 1 through 8 (of 8 total)