This forum is for assistance with theme development.

Theme files modified and uploaded via SFTP not running on live site.

I've recently inherited a Drupal site after our previous developer left. He didn't keep exhaustive notes and is currently unreachable.

I've managed to get access via SFTP, and located, modified and re-uploaded the files that required changes. The files were page--front.html.twig and style.css. They both have clear and profound changes, that do not show on the live site.

Should these files show immediately following changes, or are there extra steps necessary?

Drupal 6 menu for Foundation off canvas

I need to prepare a Drupal 6 menu (primary links) for using as a Foundation off canvas menu.

I need to get the off-canvas-list class in UL tag and the wrapping DIVs (block-menu... and content) removed.

Did someone get this done?

How can store the session cookie along the browser detail?

I am facing a issue, when someone login session cookie has been set without any browser detail. If we copy that session cookie to the another browser then the user simply login without entering the credentials. Is there any way to store the cookie along with browser detail so that if someone switch the browser with same cookie detail then it will show an error message. You are not authorized.

Is there any difference between local host or cpanel product host for drupal themes?

Newly I designed and create a new theme for drupal 8 locally, everything works correctly on my localhost and I haven't any problem in localhost environment, but the problem arises when I decide to upload my theme to real cpanel host (product server).

In cpanel host my theme shows up and treat like other themes and install without any problem or error message,
but the problem here: theme setting page and home page not showing anything (show only a blank empty page without any content in it, a white screen only show up).

CSS as part of theme not getting linked to site

Good afternoon all,

I am literally, completely new to Drupal 8 and theme development and I have set Drupal 8.3.3 up on WAMP (Windows 10) and have created the basic files and folders to start creating my own theme how ever when putting a simple bit of CSS into one of my style-sheet files it does not get linked and hence does not render on the Drupal site.

I have the following structure:

config
css
images
js
templates
wdrc.breakpoints.yml
wdrc.info.yml
wdrc.libraries.yml
wdrc.theme

Info file:

Issue with inline fields if one of them is empty

I'm displaying a several "set" of field like "product/description/cost" as a table
First and second field has css "float:left" to do that, but when one of field "cost" is empty the conscutive "product" field shift
to the row above.

How can avoid this behaviour?

Pages

Subscribe with RSS Subscribe to RSS - Theme development