Skip to:
Content
Pages
Categories
Search
Top
Bottom

can't locate span style display none code in the theme


  • Anointed
    Participant

    @anointed

    I’m working on turning the woothemes canvas framework into a buddypress child theme. All is going well, but I have a problem I can’t solve.

    http://anointednews.com/members/admin/activity/

    On bp profile pages, you have the @username next to the users avatar.

    Normally there is a ? next to the @username but for some reason I can’t get the question mark to show up on my child theme. I have narrowed it down to the code below, but cannot find where the span style display: none is being injected.

    If I change it from none to inline, then the ? properly shows up and the drowdown help info works.

    <span display="inline" class="highlight">@admin <span style="display: none;">?</span></span>

    Is there a piece of code I should be adding to my buddypress header to solve this?

    For the most part, I am using the buddypress templates for the content portion, and simply wrapping canvas template functions around the bp ones.

    Basically I could just really use some help tracking down what is injecting the span style there. It is not in the /members/index.php file anywhere. There is simply a double closing span with no second opening one.

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)

  • r-a-y
    Keymaster

    @r-a-y

    There must be something else going on.

    Don’t have time to debug, but you can override it in CSS.

    Add this to your stylesheet:

    span.highlight span {display:inline !important;}


    Anointed
    Participant

    @anointed

    Thanks Ray… the solution worked for now. I will continue to try and track down the ‘offending’ code that is inserting that part so we don’t have to use the important override.

    btw

    Using the woothemes Canvas framework is a fantastic addition to buddypress. It gives the admin capabilities to change all fonts, backgrounds, colors, layouts, etc… the list is endless really as it depends upon which functions you add in to the admin panel.

    I’m really hoping that someday a buddypress framework is going to be released, as most people have no idea the power behind adding in a control panel into the admin. It will make my life much easier as my clients will now be self sufficient in changing their sites appearance, and won’t have to call me every time they want to modify something in the theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘can't locate span style display none code in the theme’ is closed to new replies.
Skip to toolbar