This forum is for assistance with theme development.

Is this possible? Maybe?

I think this might be related to theme development. TPL files seem to be involved in any case (but I am not certain by a long shot—I don't even know what I don't know, and don't even know how to diagnose the issues I'm having). Anyway, here goes:

I'm having some strange issues with D7 (D8 ain't an option right now, for reasons too complicated to get into here), and some module interactions and the way things get displayed.

Selecting only a specific type of CSS

I want to specify CSS for only the content of my website, but it doesn't work. Can someone correct my error(s)? Thanks!

a.content:link {
  color: yellow;
}

a.content:visited{
  color:yellow;
}

a.content:hover {
  color: red;
}

a.content:active {
  color: yellow;
}

D7 bootstrap hamburger mobile menu problem

Hello.

I am in charge of the SEO of some websites using drupal7 with bootstrap theme.

On 2 websites I have some problems with the header hamburger mobile menu

https://chassisdelhez.be/ and https://delheztoitures.be/

the menus are not locking on both website and it seems there is also a displaying issue with the slider on the first site...

Can someone help me to find where and how to fix that?

thanks

New to D8 and Twig, need local dev suggestions

Howdy all...

I've got a local environment with MAMP, Codekit and using Visual Studio Code. I've got my Pantheon site running locally, but whenever I edit a twig file, I can't get the changes to show up on the live reload. I have to commit and push and clear caches on the dev server. 

What am I missing so I can do local dev? I want my edits to the twig file to show up locally on live reload.

Thanks in advance, y'all!!

Display article field image in custom header block

I'm building my first custom theme, and I'm a big stuck on a custom function. I'm trying to program my article pages to pull field images (associated with that specific article) into the header. I'm new to PHP and not sure if that's where I'm going wrong.

**FYI I've edited the actual theme name to "THEME" in the function below.

Form alter with unique form id's

Hello,

I am using the following code to alter a form:

Pages

Subscribe with RSS Subscribe to RSS - Theme development