BBPress Jon C : Replies Created

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Organizing long category dropdown menu #280343
    Jon C
    Participant

    Hi,

    Sorry, I still need additional clarification.

    Would be correct css to style level 2?

    #cn-slim-plus div.cn-cat-level-2 {
    color: red;
    }

    As for the class.template-parts changes, I might need a little more assistance…

    I changed lines 1010 and 1014. Does it matter where I post the code $class = ‘class=”cn-cat-level-‘ . $level . ‘”‘; ? I put it in line 980.

    Was I supposed to just copy the previous code or input different levels (i.e $class = ‘class=”cn-cat-level-2’ .level2 . ‘”‘;)

    Thanks for the help! I submitted a review.

    in reply to: Organizing long category dropdown menu #280319
    Jon C
    Participant

    Thanks! The parent categories were indeed empty so I was able to apply the formatting changes using the PHP changes and get the result I wanted.

    If I wanted to create a class (so I could style using css) for the second and third level categories, respectively, would that be possible via the PHP in the class.template-parts? Can you walk me through that? Sorry to be such a newb with PHP… Thanks again for your help.

    in reply to: Organizing long category dropdown menu #280272
    Jon C
    Participant

    Hi Steven,

    Thanks for the tips on Questions 2 and 3!

    I’m still stuck on question 1.

    Is there really no access point to change the style of the parent vs. child vs. sub-children categories? I’ll go to any length as long as you can walk me through the steps.

    I notice that the parent elements get 7px of left padding, the children 31px and the sub-children 43px. Is there any way to alter the padding values? Ideally I’d love to have the fonts get smaller from parent to child but altering the padding would be a second-best option.

    Thanks for your time!

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