Full-width Posts/Pages
-
Hello Compete Themes, found your theme on Google and decided to give it a try.
I’m mostly satisfied with the theme overall, but seem like i can’t make the posts/pages show with full width style. Is this the PRO future or i have to do something else? Please help 🙂
-
Thanks for using Tracks!
Tracks Pro has additional layouts you can use, such as displaying the posts full-width on the blog. For Tracks, the layout is limited to the side-by-side display.
Thanks for replying.
I means the layout of post when i’ve clicked on it (child post) not the Front Page one 🙂
I’ve done some research and see that it affected by 2 bars and the contents was in between them in a container. Can i somehow modify it?
(Two purple bars, i wanted to removed it in order to expand the post layout)

Okay I see. Please try the following CSS to remove the space around the text there:
.entry-container { padding: 0; }Okay,.. i’ve tried the same way that CSS did by remove some code lines in the content.php before…
And i must say these are the same terrible idea :))Before:

After:


/Modified the padding sizes did the trick.

-
This reply was modified 9 years, 6 months ago by
tdtvbkt4321.
-
This reply was modified 9 years, 6 months ago by
tdtvbkt4321.
Hmpm….
Can i ask you something more?
How to make a “Go to bottom” similar to Go to Top did at the same position but opposite function?-
This reply was modified 9 years, 6 months ago by
tdtvbkt4321.
This isn’t currently an option in Tracks, but you can add this functionality with a plugin like Scroll Top and Bottom: https://wordpress.org/plugins/scroll-top-and-bottom/
Ah i wanted somehow custom code integrate into the theme itself. But Thanks anyway 🙂
And again, where can i find the <body> tag? I wanted to add something to it but i can’t seem to find it anywhere. Or this exact location:

Thank you.-
This reply was modified 9 years, 6 months ago by
tdtvbkt4321.
The body tag is closed at the bottom of the footer.php file which is where you will also find the code for the scroll to top arrow.
I would highly recommend using a child theme instead of directly editing the files in Tracks. You can find a short overview of how to use child themes and a download for a Tracks child theme you can get started with here: https://www.competethemes.com/help/child-theme-tracks/
Okay, thank you so much man 🙂
/ Kinda stupid to asked but if i used a child theme is that means i could use the vanilla parent theme at the same time w/o breaking it if something gone wrong?-
This reply was modified 9 years, 6 months ago by
tdtvbkt4321.
Well shame on me i don’t knows how to used this child theme….
Thanks anywayIt takes a bit more work using a child theme, but it’s worth it in the long run. If you install an update for Tracks, the new files are going to overwrite the current ones which means you’ll lose your changes. You can always backup your site or your copy of Tracks, but it’s very easy to accidentally update and lose your work.
With a child theme, editing isn’t too different. For instance, if you want to edit the footer.php file in Tracks, you just have to copy the footer.php file into the Tracks child theme and then edit it there. As long as the Tracks child theme is active on the site, the footer.php file in the child theme will be used instead.
Oh… so that’s how it works… thanks man 😀
Umm…. I still don’t know where the <body> tag was located at and can i add code into it…
Sure thing!
The closing
</body>tag is in the bottom of the footer.php file, and the opening<body>tag is in the header.php file. -
This reply was modified 9 years, 6 months ago by
The topic ‘Full-width Posts/Pages’ is closed to new replies.
