Hey guys I'm having trouble with hitting some elements with css. I have many divs within divs and I am trying to target the elements so I can style them with my css. Here's my html:
<html class="ng-scope">
<body ng-controller="appController" class="ng-scope">
<div class="header ng-isolate-scope" logo="appModel.config.logoUrl" header-one="appModel.config.headerLabelOne" header-two="appModel.config.headerLabelTwo">
<div class="header-top"></div>
<div class="header-bottom"></div>
<img class="logo" ng-src="assets/images/logo.png" src="assets/images/logo.png"><div class="header-one ng-binding">WHAT PEOPLE ARE SAYING:</div><div class="header-two ng-binding">Loreal - Share Of Buzz</div>
<img class="powered-by" src="assets/images/poweredby.png"></div>
<!-- ngView: -->
<div class="view-container ng-scope" ng-view="">
<div class="mentions ng-scope">
<!-- Modal -->
<div class="modal fade ng-scope" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" style="display: none;">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<div class="mention-detail" style="width: 338px; height: 104px;">
<div class="social-logo instagram-account"></div>
<div class="detail-image hidden" style="background-image: url('')"></div>
<div class="profile-info" style="left: 40px">
<div class="user-info">
<div class="profile-picture" style="background-image: url('http://scontent.cdninstagram.com/t51.2885-19/s150x150/13636101688972106_a.jpg')"></div>
<div>
<div class="name">Perfjrine Dlpt</div>
<div class="handle">@perfjrine.dpt</div></div>
</div>
<div class="tweet-stats">
<span class="rank stat">SYNTHESIORANK</span>
<span class="synth-value value" "="">1.9</span>
</div>
<div class="tweet">
<div class="tweet-inner">La douceur d'avène adoptée #avène #douceur</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="lib/bootstrap/js/modal.js" class="ng-scope"></script>
</div>
The class I am trying to reach with css is the user's name
as follows:
.modal-body .mention-detail .profile-info .user-info .name {
color: #444444;
margin-top: 4px;
}
Anyone know why my approach is not working? Any help would be nice. thanks!