htmlcssdrupal-7

Removing section in view without using views. (Drupal 7 css)


I'm looking to remove the tags section from the following page in Drupal: http://www.workbooks.com/help.html

For the life of me, I can't seem to remove it within what appears to be the correct view:

view view-community view-id-community view-display-id-page view-dom-id-

Is there a way I can get rid of this somewhere else? I need to kiss the tag section goodbye!

remove the tags section

UPDATE

Adding the line, into styles.css:

.view-community .views-field-name a {
  display: none;
}

Hides the content but leaves me with excess whitespace (where the tags were).

UPDATE 2

Adding the line, into styles.css

.view-id-community h3 {
  display: none;
}

Hides the <h3> tag.

So the question now remains:

How can I remove the excess whitespace now showing where the tags used to be?


Solution

  • In the following stylesheet, community.css line 308, find the following class

    .view-community {
       clear: both;
       color: #6F6F6F;
       display: block;
       margin-right: 109px;
       overflow: hidden;
       padding-right: 175px;
       margin-left: 58px;
    }
    

    And change it to:

    .view-community {
       display: none;
    }
    

    When I do this in Google Chrome developer tools it works. I don't see the word tools anywhere. But it is drupal so there should be a way to switch off the tags in the admin tools. just not sure where.