Styling Portfolio Taxanomies in Minimum Pro

Community Forums Forums Design Tips and Tricks Styling Portfolio Taxanomies in Minimum Pro

This topic is: not resolved

This topic contains 5 replies, has 2 voices, and was last updated by  scotm 7 months, 2 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #60811

    scotm
    Participant
    Post count: 35

    I want to categorize my portfolio items in Minimum Pro by way of a new taxonomy.

    To do this, I’ve created a new taxonomy in my functions.php file called “Type”. I then duplicated the archive-portfolio.php template file and renamed it taxonomy-portfolio-type.php. This works fine, as I can now categorize my portfolio items in various categories under Type.

    However I need some guidance on how to style these posts in the taxonomy archive template and my style sheet so that they appear the same as the existing archive template.

    A tutorial on how to do this appears here: http://bit.ly/17GTfW2

    Cheers

    • This topic was modified 7 months, 2 weeks ago by  scotm.
    • This topic was modified 7 months, 2 weeks ago by  scotm.
    #60816

    anitac
    Participant
    Post count: 6446

    Look for all of the CSS associated with “post-type-archive-portfolio” in the style sheet – replicate that code for your new “type”.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #60819

    scotm
    Participant
    Post count: 35

    @anitac

    Yes I figured that would be the route to go, but was unsure of the class name to use for the taxonomy when duplicating the css (e.g. post-type-archive-portfolio-type).

    #60820

    anitac
    Participant
    Post count: 6446

    Hold on, let me check it real quick.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #60822

    anitac
    Participant
    Post count: 6446

    The current Archive Portfolio file name is archive-portfolio.php. So I am thinking you will need to change it to the file name you created “post-type-taxonomy-portfolio-type”. If that doesn’t work use just use the word “type” but if I were you, to cut down on confusing words, maybe create a new name for the custom post type instead of the word type.


    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me! | Plus Me!
    When asking for help, please provide a link or screen shot showing your problem!

    #60825

    scotm
    Participant
    Post count: 35

    I’m using “type” for testing purposes only and had seen the potential conflict with the names. So you’re saying, for example, to try:

    “.post-type-taxonomy-portfolio-type .entry” to replace an instance of “.post-type-archive-portfolio .entry”

    This doesn’t appear to work. Curious that firebug shows the <div class=”portfolio-image”> in the portfolio archive template but there’s no reference to that in the stylesheet.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.