OK to start with I am trying to sub theme Bartik from drupal 7.52 and my custom and over ride .css files will not show when reloaded. I am trying to make custom slide show to have bullets at bottom for global counter and have picture name show on the picture. You can see that in my custom.css screen shot at bottom. I have created a folder in my /sites/all/themes and named it lovs2build. Copied Bartik theme to it, renamed the info, delete the template.php. Basically followed all instructions given from forum posts https://www.drupal.org/docs/7/theming/creating-a-sub-theme read the post of this thread https://www.drupal.org/node/938430. I have been trying to resolve this issue for a while tried to solve this on my own but I see now I can not and it is driving me nuts. I have done all the obvious things, cleared cache, flush dns, etc. It just won't load my changes. I have included screenshots of my site page source my .INFO file and link to actual site. If someone could help me with what I am doing wrong I would be SO thankful! I am somewhat new to drupal and to web designing. Please bear that in mind when replying. Thanks again!

site is bagsbycathie.com
http://prntscr.com/df1j2n page source
http://prntscr.com/df1jhw .info file
http://prntscr.com/df1kfv custom .css

Comments

VM’s picture

when you copy the entirety of a theme, you haven't generated a subtheme but an entirety separate theme. Reading the directions in https://www.drupal.org/docs/7/theming/creating-a-sub-theme , I don't see where it states to copy over bartik in its entirety.

That said, let's back up.

use these docs specific to generating a bartik subtheme = https://www.drupal.org/docs/7/core/themes/bartik/customizing-bartik

lovs2build’s picture

Thanks for your reply.
I have tried that as well, that was the first try to sub theme bartik, I made a folder called lovs2build in my sites/all/themes. Made a INFO file renamed it lovs2build and added that info stated in your link, my current INFO file is same as my first try ( I did not copy bartik theme) to it as you can see in my INFO screen shot. I then tried the copy the bartik theme changed the INFO file deleted the template.php as per these instructions in this comment https://www.drupal.org/node/938430#comment-4250344 that was my 2nd try. I have tried both methods and neither worked.

lovs2build’s picture

Ok I just went back again and made new folder named mike in my sites/all/themes as per instructions in link you gave and still is not showing MY .css file or changes. What else am I missing, this is driving me crazy. lol

here is screen shots of my structure on my web host along with info file and my .css
http://bagsbycathie.com site
http://prntscr.com/df2y0w host structure
http://prntscr.com/df2yl9 css structure
http://prntscr.com/df2ys7 my .css file

VM’s picture

have you tested something like :

.view.view-front-page-slide-show {
    background: red;
}

remove your custom declaration and add

.view-front-page-slide-show .views-field-title {
    background: red;
}

Make sure to clear your database and browser cache.

If that works correctly then the sub-theme itself is fine as your css file is being called into the page based on the source.

Thus the issue is with one of the lines in your css addition. I can't say which one as I didn't take the time to write out what was in the image. Of benefit to post code using code tags or using pastebin or other.

lovs2build’s picture

YES adding .view-front-page-slide-show .views-field-title { solved my problem!! Thanks SO much for helping I was going NUTS!!!

samitdude’s picture

try to debug use this code is your mike.css file

body{
background : red !important;
color : #fff !important;
}

It can be permission or cache issue

lovs2build’s picture

ahh THAT shows. So it must me an error in my css. now i just need to figure out how to fix that. At least now I know it isn't a problem with my site install. Thanks guys!