Log in

View Full Version : Stylevar Update


schan
02-05-2014, 07:08 PM
Hey all,

I wasn't able to find a previous topic that has my issue so I apologize in advance if this is a repeat somehow. Basically, I want to change the font size of the forumhead in the default skin. I found that it uses the .forumhead .L1 .a class selectors. Furthermore, I know the font size is being controlled by the forumhead_font stylevar.

I have two systems. On the test system, I updated the stylevar and voila, it worked fine. On the production system, I updated the stylevar and it will not get updated. I already updated the system cache - that did not do it. The main difference between the two systems is that production is using APC Cache. I tried clearing out that cache too, but it appears that forumhome-rollup.css (vBulletin's CSS compilation) doesn't get updated. Is there something else that I'm missing? What can I do to get vBulletin to rewrite the changes to forumhome-rollup.css?

Thanks,
-Schan

final kaoss
02-05-2014, 10:50 PM
Refer to this thread.
https://vborg.vbsupport.ru/showthread.php?t=256370

schan
02-05-2014, 11:59 PM
Thank you for your response, but that thread doesn't help. It's too basic. I already know how to modify the stylevar and I already know what stylevar is involved. I already got it to work on my test site, but I need it to work on the production site, which has APC enabled. I want to know if there's anything special I need to do to get production to work since my test server worked flawlessly, which doesn't have APC enabled.

I didn't read through all the posts though. Was my solution in the post?

Thanks.

--------------- Added 1391652832 at 1391652832 ---------------

Figured it out. A dumb mistake on my part. The permissions on the vbulletin_css directory for production server wasn't properly set so the web server couldn't write to the css file. After I made the directory to be writable by the web server, cleared the cache, and refreshed my stylevar setting (set it to the value you want and save it again), it worked fine.