Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'd like to build a new base theme which integrates the Semantic UI framework (http://semantic-ui.com) and acts as a bridge by including the framework classes.
Now I'm looking for a clever solution to inject these different classes to the markup.
Example: Semantic UI extends the <h1> tag with an additional class="ui header", which then should be added to <h1>.
Hey, I'm just getting started with drupal and I'm trying to implemement a piece of content that states "A first generation family farm, Wheat Ridge, CO" and then immediately afterwards displays 4 social media icons. see image.
And I don't know what the best way to implement this piece of content is. Should it be a black, a content type, or something else completely? And what's the best way to reference the images in drupal?
This is Drupal 7 and the TB Nex theme. I have a database with a vocabulary ("Topics") and a story on which the Topics vocabulary is used.
I have defined a Grid view of 3 cells x 3 cells. Each cell has a distinct Topic heading, with titles from one or two or three of the most recent stories with that Topic. When the view shows only the Topic heading in each cell, it works beautifully. Looks like this.
I switched over from smf to drupal and I am setting up a Homepage right now. Everything is working so far like I want it to. But one thing is standing in my way to get my theme working.
At the front page I use articles, quite obivous. All articles are child of the "div id=content". In the css I made this class "invisible" and seperated the single articles. So each article has is own border and background instead a backgorund for the whole content area. So far, so good.