brooks
asked 11 years ago

Hi,

I just want to get some clarification on the use of the .css files in the Focus theme because the structure is a little different than usual.

I know that “style.css” has to exist in order to meet the requirements of WordPress — but because it’s empty in this theme, does it have any real functionality? Does it have to be referenced in a child theme or any other files for any reason?

3 Answers
DominicStaff
answered 11 years ago

Hi Brooks,

DW Focus has been developed in LESS & Bootstrap. So the style.css file is used to contain all the theme information.

The CSS codes of this theme is built on LESS into 2 files template.css and responsive.css and being loaded at line 141 and 142 on the file functions.php of DW Focus theme via dw_focus_scripts function.

I recommend that you should add any custom CSS code to Dashboard > Appearance > Themes > Customize > General Settings > DW Focus header script

Hope you find this information useful!
Best regards,
Dominic

Tim Rowley
replied 11 years ago

I wrote some css in the place you described but the code was visible written above the header on the webpage.

Dominic Staff
replied 11 years ago

You need to add your code here: “code”
“code”
Example:
.news-slider .carousel-list .other-entry li.active {
border-leftclorf: #fff;
}

karlito.marrone
answered 11 years ago

Hi Dominic,

I’ve tried to setup a child theme for DW-Focus but I seem to fail as the layout changes drastically..

My style.css looks like this:
/*
Theme Name: DW-Focus Child
Theme URI: http://www.lemale.com/
Description: Child theme for the DW-Focus theme
Author: Karl Brune
Author URI: http://www.lemale.com
Template: dw-focus
Version: 0.1.0
*/

Thanks,
Karl

DominicStaff
answered 11 years ago

Hello Karl !

We are testing your case and will let you know as soon as possible.

Regards,
Dominic

karlito.marrone
replied 11 years ago

Thanks guys!

karlito.marrone
replied 11 years ago

Any update on this folks?

Dominic Staff
replied 11 years ago

Right now, You can download the version 1.0.3 in your profile.

Powered by DW Question & Answer Pro