• Resolved danielmac

    (@danielmac)


    Hello, Ben.

    First off, thank you for the amazing theme! I have recently started working on my personal website (which is actually my first WP website) and decided the Tracks theme works best for my needs.

    If I may, I have a few questions that I couldn’t answer on my own by reading the (at this point) 17 pages of forum content:

    1. Regarding the logo: is there a way to align it with the website menu? I couldn’t find the code line responsible for the logo position, but I’m thinking there has to be some sort of padding propriety which can be changed.

    2. Regarding the home page: Is there a way to put both the Site Title and tagline in the header and centered?

    3. Is there a way to keep the Site title and tagline visible only on the home page?

    Basically what I want is to upgrade my Tracks to get the custom backgrounds (can’t decide if photo or texture, both look freaking amazing!), then keep the home page with a minimalist design, just the background and the top centered site title + tagline underneath.

    4. My website will feature a portfolio category and a photography category, as well. If I purchase both the two-column layout and the full-width layout, can I use the first layout for portfolio and second for photography or will only one layout apply for all categories?

    5. Last but not least: I have created a few sub-categories and I would like that when I am reading posts in one of the subcategories to see them displayed so. Is there a way to see that? Currently the format is CATEGORY: CATEGORY NAME. What I’d like to get is basically CATEGORY: CATEGORY NAME \ SUBCATEGORY NAME

    I apologize if I should’ve created individual threads instead of a compound one. If you could help me with the answer, I would greatly appreciate it.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Hey Daniel,

    Sure, to answer your questions:

    1. You could add some margin to the logo to move it around like this:

    .site-title .logo {
      margin-top: 12px;
    }

    ^That would move it downwards for example.

    2. You can use the following CSS to center the site title and tagline in the header:

    .title-info {
      float: none;
    }
    .site-description {
      position: relative !important;
      margin: 0;
      text-align: center;
    }
    #site-header .container {
      text-align: center;
    }

    3. Sure this code can hide the site title and tagline on non-homepage pages:

    body:not(.home) .site-title,
    body:not(.home) .site-description {
      display: none;
    }

    4. As of now, only one layout can be applied across the site.

    5. This can be done by editing the category links function in Tracks. If you’re comfortable with PHP, I can point you in the right direction for making a customization like this.

    Thread Starter danielmac

    (@danielmac)

    Hello Ben,

    My god, thanks for the prompt reply. To be honest, I didn’t think I’ll get a response in less than 24 hours.

    I’m not a PHP guru, but I think I can handle it, so if you find a moment to link me for #5, it would mean a lot!

    As for #4 – any idea if we might get that in a future update of the theme?

    Theme Author Ben Sibley

    (@bensibley)

    Yea sure thing!

    For #5, you can do this by editing the category-links.php file in the content folder. Make sure to copy it into a child theme before making any edits first. You’ll see that the categories for the post are gotten and then looped through with a foreach loop. In the foreach loop, you’ll want to check if the current category has a parent category ($category->category_parent). Then if it does, you can change the markup to display it differently.

    For #4, this isn’t currently on our roadmap, so I can’t make any guarantees when and if it will be added as a feature.

    Thread Starter danielmac

    (@danielmac)

    Fast reply again, you’re the best Ben!

    Thanks for guiding me with #5 and answering my initial questions, too.

    As for #4, well then I’ll just have to hope more people ask for this feature and determine you it’s worth a shot at implementing it ??

    Marking this topic as solved. (12 days until my holidays, then I’ll be able to work full-time on my website and officially launch it. Can’t wait!)

    Theme Author Ben Sibley

    (@bensibley)

    You’re welcome!

    Thanks for your understanding, enjoy your holiday ??

    Thread Starter danielmac

    (@danielmac)

    Hello Ben,

    In regards to (3) – hiding the site title and tagline on non-homepage pages:
    I noticed earlier today that the tagline remains hidden, but the site title still appears on all pages. Did something change in the theme and I need to adjust the CSS? If so, can you help me out with hiding the title again, please? ??

    Thank you,

    Theme Author Ben Sibley

    (@bensibley)

    Hi Daniel,

    It should still work, but to be sure lets try switching it up.

    Locate this CSS in the Custom CSS section:

    body:not(.home) .site-title,
    body:not(.home) .site-description {
      display: none;
    }

    And replace it with this instead:

    .site-title,
    .site-description {
      display: none;
    }
    .home .site-title,
    .home .site-description {
      display: block;
    }

    If the same issue persists, please share a link to your site and I should be able to find a fix.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘5 newbie questions’ is closed to new replies.