Changes did not show up

Changes did not show up

8 posts / 0 new
Last post
debradavis125's picture
debradavis125
Points: 0
Changes did not show up

Hi,

I changed some parts of the CSS theme and the changes are not showing up. I cleared my browser cache and it still shows the old one. I'm using Drupal 6.

Thanks.

Regards,
Debra

Status: 
Unresolved
pbull's picture
peter.bull
Points: 6

Hello Debra,

When making changes to your theme templates or CSS, you may need to clear Drupal's theme registry for new changes to take effect: http://library.acquia.com/content/how-clear-theme-registry

To reduce HTTP requests, Drupal can combine many of the CSS files into one file; and the JavaScript files into another: http://library.acquia.com/content/best-practice-drupal-performance-optim... This is very useful for live sites, but it can slow down theme development by requiring the theme registry to be cleared after every CSS change. During development, you can disable CSS and JavaScript aggregation.

---
Regards,
Peter Bull
Acquia Client Advisory Team

---
Regards,
Peter Bull
Acquia Client Advisory Team

maecruz0320's picture
maecruz0320
Points: 0

Debra, Peter is correct. Clearing your cache is not enough to show the changes you've made. I also encountered the same but thanks to our dear Advisory Team for helping us with our concerns. After I cleared cache then cleared the theme registry, I got the new CSS changes working. :)

debradavis125's picture
debradavis125
Points: 0

Thanks Peter and Mae. I got it working.

Regards,
Debra

mark.orciuoli's picture
mark.orciuoli
Points: 0

I am working with the Commons Origins Theme and following this article on how to remove the people background and add a new background color. See article here, http://fusiondrupalthemes.com/story/110301/theming-drupal-commons-part-1...

I have a local.css file and made the following changes in it:

/* Disable the people-holding-hands background image */

#right-background,
#left-background {
display: none;
}

/* Use a new blue gradient image instead of default gray */

body {
background: #41B0DD url(../images/custom/blue-gradient.png) repeat-x 0 0;
}

I have tried to clear the cache, rebuild the theme registry and still I can not get the people images to disappear and the background to show. Here is a link to my site, http://chulesdev.devcloud.acquia-sites.com/home

Also, I am trying to read this article but keep getting stuck in a logon type loop. I am a registered member but each time I click I just get redirected to log in again. Does anyone know why these changes are not taking.

Thank you - Mark

cmacpherson's picture
cameron.macpherson
Points: 0

Hey Mark,

I just checked your site and it seems that you figured out how to clear your cache and theme registry, as I noticed that the background color and image on your theme has changed.

Do you require additional support? Please chime back if so.

Thanks,

Cameron

---
Regards,
Cameron MacPherson
Acquia Client Advisory Team

---
Cameron MacPherson
Acquia Client Advisory Team

tdmiller's picture
tdmiller
Points: 0

Peter:

I made a simple change to the Acquia Marina theme in a local.css file and copied this file to the /themes/Acquia Marina directory. I followed all the instructions to clear caches. I installed the Devel and Devel Themes modules and used the Administration menu to Clear the Themes Registry.

I'm still kind of new to Drupal. What am I missing?

By the way, the following is the simple change I added to Local.css:

.marina-title-rounded-blue h2.block-title,
.marina-title-rounded-green h2.block-title {
color: #fff;
margin: 0 0 8px 0;
padding: 8px 8px 6px 50px;
text-align: left;
text-shadow: 1px 1px #545454;
}

Note: only thing I changed was the "text-align: left".

T.D. Miller
Questra Media

T.D. Miller
Questra Media

CdexDev2's picture
cdexdev2
Points: 11

Hello. The Acquia Library resources shared above are now broken (404). Can someone please explain ways to clear the theme caches in Drupal 6? I have been searching the web but am still have trouble figuring this out. I tried the method mentioned in the Drupal.org Community Documentation (Site Configuration: Performance: Clear all caches) but that does not seem to actually do it. Thanks.

Status Change: 
Unresolved

Careeradex Dev Team Member