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

    Hi there,
    I’m struggling with customizing the Accordion element on my portfolio pages.
    I managed to customize the element for the rest of the site, but since I’m working with a black background on my portfolio pages, I would need (i) the element to have a matching black background on both toggle states, along with (ii) white font color.
    Many thanks for looking into this.

    #1405184

    Hi MadRhino,

    Can you give us a link to the page mentioned?

    Best regards,
    Nikko

    #1405216
    This reply has been marked as private.
    #1405335

    Hi MadRhino,

    Thanks for giving us admin access.
    I have modified the accordion in the page (private content) and adjusted its colors when you edit Accordion, then go to Styling > Colors.
    Finally, in Quick CSS, I have removed this code:

    .active_tc .toggle_content {
    	background: #ffffff!important;
    }

    and replaced with:

    #top .toggle_content strong {
    	color: white;
    }

    Please review the page.

    Best regards,
    Nikko

    #1405340

    Thank you Nikko. This looks great. Just one more thing. Is there a way to center the heading for the Accordion element – only on the portfolio pages? That would help align it with the other headers on that page.

    Many thanks

    #1405432

    Hi,

    Please try this CSS as well:

    .single-portfolio p.toggler {
      display: table;
      margin: 0 auto;
    }

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.