This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Toggle Background Colour

  • Creator
  • #8642

    Hi there. How can i change background colour for a specific toggle on a specific page?

Viewing 1 replies (of 1 total)
  • Author
  • #8651
    Jason Bobich


    For CSS changes, it’s a good idea to use a tool like firebug or Google Chrome’s built-in developer tools to locate them and then put the edits either in your child theme or in the “Custom CSS” option on your theme options page.

    I’m not sure there’s going to any way to target a specific toggle, other than maybe using nth child pseudo selectors, possibly. Toggles don’t have any kind of unique selector on them.

    But you can target anything on a specific page as WordPress gives you classes for every page on your site attached to the <body> tag. For example, all static pages have a class “page-id-123” (where 123 would be the ID of the current page).

    Also, here’s a helpful tutorial on how to use Firebug – The only thing I’d suggest not doing is actually making edits to the theme’s CSS files, as it shows at the end of that video. However, the video serves as a good introduction to Firebug and how it can be used to find what CSS is effecting certain areas of your site without ever digging around in any files.

Viewing 1 replies (of 1 total)
  • The forum ‘Barely Corporate Responsive WordPress Theme’ is closed to new topics and replies.