WordPress.org

Ready to get started?Download WordPress

Forums

Different heading within div (5 posts)

  1. Joost009
    Member
    Posted 1 year ago #

    Hello everybody,

    I've got a question; how can I set a different format for heading within a div in style.CSS? I've got an accordion style button, and when the button is clicked, I want the content to show, but not in the same style.

    Here's my code:

    .art-blockcontent-body table,
    .art-blockcontent-body li,
    .art-blockcontent-body a:link,
    .art-blockcontent-body a:visited,
    .art-blockcontent-body a:hover
    {
      color: #403934;
      font-family: "HelveticaNeueLT Com 35 Th",Arial, Helvetica, Sans-Serif;
      font-size: 13px;
      line-height: 125%;
    }
    
    .art-blockcontent-body p
    {
      margin: 6px 0;
    }
    
    .art-blockcontent-body a, .art-blockcontent-body a:link
    {
    color: #5F5B54;
    padding: 0 0px;
    margin: 0 0;
    line-height: 33px;
    font-family: "Droid Serif",Arial, Helvetica, Sans-Serif;
    font-size: 20px;
    text-align: left;
    text-decoration: none;
    position: relative;
    display: block;
    overflow: hidden;
    height: 33px;
    width: 160px;
    cursor: pointer;
    }
    
    .art-blockcontent-body a:visited, .art-blockcontent-body a.visited
    {
      color: #403934;
      text-decoration: none;
    }
    
    .art-blockcontent-body a:hover, .art-blockcontent-body a.hover
    {
      color: #961818;
      text-decoration: none;
    }
    
    .art-blockcontent-body ul li
    {
      color: #403934;
      font-size: 10px;
      padding: 0 0 0 0px;
      float: left;
      background: none;
    }/* end Box, BlockContent */
    
    .art-blockcontent-body ul li li
    {
     float: none;
    }

    Can someone please help me how to solve this? Thank you all very much in advance!

  2. Joost009
    Member
    Posted 1 year ago #

    Can someone please tell me how to do this, or give me advice how I can get to know how to do this?

  3. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    It'll be easier for someone to help if you post a link to a page where this is set up.

  4. Joost009
    Member
    Posted 1 year ago #

    Here's the link to the page that I'm building that contains the accordions where the subbuttons need to have a different style than the headbuttons:

    http://bit.ly/Xq1ELe

  5. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    I don's see any buttons on that page. In general, try using a browser tool such as Firebug to help you find the relevant CSS. You may also need to ask this question on the Artisteer forums - as these forums only support themes from the repository on this site.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags