Shanatsha
Forum Replies Created
-
Forum: Themes and Templates
In reply to: twenty fourteen style sheetWell I am not pro in any of the above language, but somewhat know the basics. I am a fast learner and willing to give it a shot.
The thing is, wordpress pretty much has biult in functions that are called, its more so getting around to these functions knowing which calls what. Knowing what wordpress is doing when and where.
For instance, I thought the stylesheet would have been called in the header.php file using the link rel, but based on what you are saying it was called using
wp_enqueue_style( ‘style’, get_stylesheet_uri() );
It may take some time to get the hang of it, but I will. I was not aware of the conditional comments, so that was new to me, but I get it now.
I will continue to go through the structure of diff themes and analyse the different structure and function usage.
Thanks a lot for your help wphigh, I am sure I will have more questions from time to time if I don’t find the answer on the support page.
Forum: Themes and Templates
In reply to: twenty fourteen style sheetNot referring to stylesheet for ie fix, I was referring to the general style.css in the theme folder that style the theme, rickVIT mentioned earlier it was in function.php, but I check and I don’t see it loading anywhere there.
The theme is styled some way some how, but which stylesheet is doing the styling?
Forum: Themes and Templates
In reply to: twenty fourteen style sheetThanks wphigh.
Just want to make sure I fully understand what’s going on in the template, after comparing different themes and not all of them seem to use the JavaScript conditional comment.
I checked the function.php for the style.css and style.css is not mention anywhere in that file, however, there is a style.css file in the theme folder.
Forum: Themes and Templates
In reply to: twenty fourteen style sheetThanks rick_vIT for the clarification.
Something else I noticed, I am new to wordpress theme development and very much not a hardcore coder.
I understand that these lines are addressing internet explore compatibility issues. However, why is there a if statement in a comment? <!–[if IE 7]> and does it actually take effect considering it is in a comment?
<!–[if IE 7]>
<html class=”ie ie7″ <?php language_attributes(); ?>>
<![endif]–>
<!–[if IE 8]>
<html class=”ie ie8″ <?php language_attributes(); ?>>
<![endif]–>
<!–[if !(IE 7) | !(IE 8) ]><!–>
<html <?php language_attributes(); ?>>
<!–<![endif]–>