Jump to content
Sign in to follow this  
akakjb

site not responding to CSS

Recommended Posts

akakjb

I have recently re-CSS'd my site to be more responsive. I have also been messing with stylized features that I could add to the site to make it a bit more appealing. I have 3 boxes underneath the quickslider of my site used as sub navigation. they are RESCUE, RECOVERY, and RESTORATION. Originally these were red, green and blue (in the same order). This was done with CSS to color them and make them larger than normal "a" links. I removed the code with command+X and inputed new code in to try a different effect. It wasn't working. I then deleted the new code and hit command+V to paste back in the old code. it didn't take. Now I can't get the box titles to respond at all to any code. I check the title with "Inspect Element" in Chrome and the CSS doesn't even show up as incorrect or not taken in the CSS panel. It just isn't there. I have correctly opened and closed the CSS commands but still nothing. Here is the CSS I originally used

 

 

div#fbox_3285.fbox h3 {
  font-size:36px;
  color:#b7001f;
}
 
div#fbox_3283.fbox h3 {
  font-size:36px;
  color:#506e1f;
}
 
div#fbox_3281.fbox h3 {
  font-size:36px;
  color:#032e55;
}

 

I already tried adding a more specific tag to the div by adding ".fboxtitle" before "h3" and that didn't work either.

 

Please help!

 

http://www.ugmspokane.org

 

-James

Share this post


Link to post
Share on other sites
Rob

Hi,

 

Was there any other CSS?


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Rob

James, the good thing is that your CSS is perfectly valid.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
akakjb

Here is all my css copied from the pagelines CSS/LESS Rules

 

body{}
 
/* - - - - - - F O N T  E M B E D - - - - - - */
@font-face {  
          font-family: "NationalBold";  
          src: url(http://www.ugmspokane.org/fonts/coolvetica.eot); /* IE */  
    src: url(http://www.ugmspokane.org/fonts/coolvetica.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */ 
               url(http://www.ugmspokane.org/fonts/nationalBold.ttf) format('truetype'); /* non-IE */  
  } 
 
  .NationalBold { font-family: "NationalBold", verdana, helvetica, sans-serif;  
  } 
 
/* - - - - - - - - */
 
@font-face {  
    font-family: "NationalBook";  
    src: url(http://www.ugmspokane.org/fonts/agoestoesan.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */ 
         url(http://www.ugmspokane.org/fonts/nationalBook.ttf) format("truetype"); /* non-IE */  
  } 
 
.NationalBook { font-family: NationalBook, verdana, helvetica, sans-serif;  
  } 
 
/* - - - - - - - - */
 
@font-face {  
    font-family: "Yank";  
    src: url(http://www.ugmspokane.org/fonts/yank.eot); /* IE */  
    src: url(http://www.ugmspokane.org/fonts/yank.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */ 
               url(http://www.ugmspokane.org/fonts/yank.ttf) format("truetype"); /* non-IE */  
  } 
 
.Yank { font-family: Yank, verdana, helvetica, sans-serif;  
  } 
 
/* - - - - - - - - */
 
@font-face {  
    font-family: "NationalItalic";  
    src: url(http://www.ugmspokane.org/fonts/nationalItalic.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */ 
               url(http://www.ugmspokane.org/fonts/nationalItalic.ttf) format("truetype"); /* non-IE */  
  } 
 
.NationalItalic { font-family: NationalItalic, verdana, helvetica, sans-serif;  
  } 
 
/* - - - - - - - - */
 
 
 
 
/* - - - - - - - - - - - H E A D E R - - - - - - - - - - - */
 
 
/* - G L O B A L - */
 
p {
  color:#333333;
  font-family:NationalBook;
  font-size:18px;
}
 
a {
  color:#032e55;
  text-decoration:none !important;
  font-family:"NationalBold";
  font-size:18px;
  -o-transition:color .3s ease-out, background .2s ease-in;
  -ms-transition:color .3s ease-out, background .2s ease-in;
  -moz-transition:color .3s ease-out, background .2s ease-in;
  -webkit-transition:color .3s ease-out, background .2s ease-in;
  /* ...and now override with proper CSS property */
  transition:color .3s ease-out, background .2s ease-in;
}
 
a:hover {
  color:#b7001f;
}
 
h2 a {
  color:#032e55 !important;
  text-decoration:none !important;
  font-family:"NationalBold";
  font-size:36px;
  -o-transition:color .3s ease-out, background .2s ease-in;
  -ms-transition:color .3s ease-out, background .2s ease-in;
  -moz-transition:color .3s ease-out, background .2s ease-in;
  -webkit-transition:color .3s ease-out, background .2s ease-in;
  /* ...and now override with proper CSS property */
  transition:color .3s ease-out, background .2s ease-in;
}
 
h2 a:hover {
  color:#b7001f !important;
}
 
a img {
  opacity:1;
 -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
a img:hover {
  opacity:.7;
  -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
 
h4 {
  font-family:"NationalBold";
  font-size:24px;
  color:#3c2c04;
}
 
.alignleft {
  margin-bottom: 0em !important;
  margin-right: 1em !important;
}
  
 
/* - N A V B A R - */
 
div.navbar.fix.navbar-content-width.pl-color-black-trans {
  background: transparent !important;
  box-shadow:none !important;
  border:none !important;
}
 
div.navbar.fix.navbar-content-width.pl-color-black-trans {
   background: none !important;
   moz-box-shadow: none !important;   
   -webkit-box-shadow: none !important;   
   box-shadow: none !important;
   border: none !important;
   filter: none !important;
}
 
ul#menu-quick-nav.font-sub.navline.pldrop.pull-right a {
  color:#d8d5cd;
  font-family:Yank;
  font-size:16px;
  font-weight:100;
  text-shadow:none !important;
}
 
ul#menu-quick-nav.font-sub.navline.pldrop.pull-right a:hover {
  color:#b1ab9c;
}
 
/* - B R A N D N A V - */
 
img.mainlogo-img {
  opacity:1;
}
 
img.mainlogo-img:hover {
  opacity:.8;
}
 
a.plbrand.mainlogo-link {
  padding-right:0% !important;
  position:relative !important;
}
 
li#menu-item-3230.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-3230 img {
  opacity:1;
}
 
li#menu-item-3230.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-3230 a {
  position:relative;
  bottom:17px;
}
 
section#brandnav.container.clone_1.section-brandnav.fix .content-pad {
  padding-top:0em !important;
  padding-bottom:0em !important;
}
 
div.brandnav-nav.main_nav.fix {
  position:relative !important;
  top:89px;
  margin-left:0px !important;
}
 
div.brandnav-nav.main_nav.fix a#mobile-menu-trigger {
  position:relative;
  top:-89px !important;
}
 
div.brandnav-nav.main_nav.fix a#mobile-menu-trigger div.brandnav-nav.main_nav.fix {
  position:relative;
  top:-89px !important;
}
 
div.brandnav-nav.main_nav.fix a {
  -o-transition:color .4s ease-out, background .3s ease-in;
  -ms-transition:color .4s ease-out, background .3s ease-in;
  -moz-transition:color .4s ease-out, background .3s ease-in;
  -webkit-transition:color .4s ease-out, background .3s ease-in;
  /* ...and now override with proper CSS property */
  transition:color .4s ease-out, background .3s ease-in;
  font-size:20px;
  font-family:NationalBold;
  letter-spacing:1px;
}
 
div.brandnav-nav.main_nav.fix a:hover {
  background:#ebeae6 !important;
}
  
  
div.brandnav-nav.main_nav.fix ul.sub-menu a {
  font-family:NationalBook;
}
 
div.brandnav-nav.main_nav.fix ul.sub-menu a:hover {
  background:#d8d5cd !important;
}
 
 
/* - H I G H L I G H T - */
 
section#highlight.container.clone_1.section-highlight.fix .content-pad {
  padding-top:0em !important;
  padding-bottom:0em !important;
}
  
  /* - - - - - - - - - - - C O N T E N T - - - - - - - - - - - */
 
  
/* - T I T L E S - */
  
hgroup.post-title.fix h1.entry-title.pagetitle {
  font-family:"NationalItalic" !important;
  font-size:48px !important;
  letter-spacing:10px;
  color:#9d8b73;
  font-weight:100;
  
section.bd.post-title-section.fix h1.entry-title {
  font-family:"NationalItalic" !important;
  font-size:48px !important;
  letter-spacing:3px;
  color:#9d8b73;
  font-weight:100;
}
 
div.streamer.text {
  font-family:"NationalBold" !important;
  font-size:24px !important;
  font-style:none !important;
  text-transform:none !important;
}
 
h3.hungryfeed_feed_title {
  display:none !important;
}
 
 
/* - H I G H L I G H T - */
 
 
 
 
/* - q u i c k s l i d e r - */
 
div.fslider img {
  opacity:1;
}
 
 
 
/* - B O X E S - */
  
.grid-element.pp4.img_grid {
  margin-bottom:0px !important;
}
 
div#fbox_3285.fbox h3 {
  font-size:36px;
  color:#b7001f;
}
 
div#fbox_3283.fbox h3 {
  font-size:36px;
  color:#506e1f;
}
 
div#fbox_3281.fbox h3 {
  font-size:36px;
  color:#032e55;
}
 
div#fbox_3285.fbox h3:hover {
  color:#032e55 !important;
}
 
div#fbox_3283.fbox h3:hover {
  color:#3c2c04 !important;
}
 
div#fbox_3281.fbox h3:hover {
  color:#b7001f !important;
}
 
div#fbox_3279.fbox img {
  border-radius:0px;
  box-shadow:none;
}
 
div#fbox_3277.fbox img {
  border-radius:0px;
  box-shadow:none;
}
 
div#fbox_3275.fbox img {
  border-radius:0px;
  box-shadow:none;
}
 
div#fbox_3273.fbox img {
  border-radius:0px;
  box-shadow:none;
}
 
/* - F A C E B O O K - */
 
div.pluginSkinLight ._4s7c {
border: none !important;
border-top-color: transparent !important;
}
 
  
/* - P O S T S - */
 
 
/* - I M P A C T  P A R T N E R S - */
/*
table#impact-table {
  max-width:99% !important;
   height:auto !important;
}
 
td#impact-1 {
  opacity:.75;
  max-width:241px !important;
  vertical-align:bottom !important;
  padding: 0em !important;
  -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
 
td#impact-1:hover {
  opacity:1;
    max-width:241px !important;
-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
 
#impact-image-1:hover + #impact-text-1 {
  display:block !important;
}
 
td#impact-2 {
  opacity:.75;
 
    max-width:220px !important;
    vertical-align:bottom !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
td#impact-2:hover {
  opacity:1;
     max-width:220px !important;
-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
 
td#impact-3 {
  opacity:.75;
  max-width:188px !important;
    vertical-align:bottom !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
td#impact-3:hover {
  opacity:1;
    max-width:188px !important;
-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
 
td#impact-4 {
  opacity:.75;
  max-width:205px !important;
    vertical-align:bottom !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
td#impact-4:hover {
  opacity:1;
    max-width:205px !important;
-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
 
td#impact-5 {
  opacity:.75;
  max-width:190px !important;
    vertical-align:bottom !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
td#impact-5:hover {
  opacity:1;
    max-width:190px !important;
-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
 
td#impact-6 {
  opacity:.75;
  max-width:176px !important;
    vertical-align:bottom !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
td#impact-6:hover {
  opacity:1;
    max-width:176px !important;
-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
*/
 
  /* - - - - - - - - - - - F O O T E R - - - - - - - - - - - */
 
/* - M O R E F O O T - */
 
body.home SECTION#morefoot.container.clone_1.section-morefoot.fix {
   display:none !important;
}
 
div#nav_menu-2.widget_nav_menu.widget.fix h3 {
  font-size:20px;
  color:#b7001f;
  font-family:"NationalBold";
  text-transform:uppercase;
}
 
div#nav_menu-3.widget_nav_menu.widget.fix h3 {
  font-size:20px;
  color:#506e18;
  font-family:"NationalBold";
  text-transform:uppercase;
}
 
div#nav_menu-4.widget_nav_menu.widget.fix h3 {
  font-size:20px;
  color:#002d54;
  font-family:"NationalBold";
  text-transform:uppercase;
}
 
section#sb_footcols.container.clone_1.section-sb_footcols.fix p {
  color:#999999;
}

Share this post


Link to post
Share on other sites
James B

Hi there, its because the styling for the a tag is overriding it. If you add an a to the end of your code it should work - http://screencast.com/t/XvT8m6MwY8

 
div#fbox_3283.fbox h3 a {

    color: #506E1F;
    font-size: 36px;
}

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
akakjb

Hi there,

     I have tried adding the "a" and I have also tried including !important. None of it works.

 

-James

Share this post


Link to post
Share on other sites
akakjb

Alright, so I just tried again. This time the CSS went through. I don't believe at all it was because of not inputing the correct tag, I have tried adding "a" and "!important" to the css several times yesterday and today before I posted to the forum. The CSS seems to be cached and won't reset for a period of hours before it applies new styling. I don't have any caching plugins active, so my theory is that the lag is from Pagelines. I have had things like this happen multiple times in the past. Is there a way to reduce/eliminate this lag?

 

-James

Share this post


Link to post
Share on other sites
akakjb

For Example

 

div#fbox_3285.fbox h3 a:hover {
  color:#032e55 !important;
}
 
div#fbox_3283.fbox h3 a:hover {
  color:#3c2c04 !important;
}
 
div#fbox_3281.fbox h3 a:hover {
  color:#b7001f !important;
}

 

 

This code has been in the CSS since Saturday at about 11pm. I added it but it would not work. I just updated the tags on the css back to this original CSS (there were several variations along the way) and voila! it works. Super frustrating.

Share this post


Link to post
Share on other sites
James B

So all working now?


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • gstrahle
      By gstrahle+
      Hi,
      I am hoping to figure out how I can get my PageLines Full Nav to display layered in front of a sticky footer element on my website - 3keymedia.com
      I would like the Full Nav to overlay the entire screen when opening the menu as you will see when opening on a desktop the footer of nav content is cropped by the sticky footer.
       
      Thanks


    • Christian
      By Christian+
      Hi everyone, since Instagram had allowed to publish in different ratio formats (instead of only square ratio) the grams stripe has different heights. Can you tell me if i can fix it easily with some CSS?
    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I have noticed that my primary sidebar becomes intermittently invisible when browsing through various blog articles on michaelkummer.com/blog.
      See:
      https://www.dropbox.com/s/z646sgoa3mfjl1j/Screenshot 2018-07-12 15.57.46.jpg?dl=0 and https://www.dropbox.com/s/vdledzzgginvwgv/Screenshot 2018-07-12 15.57.57.jpg?dl=0
      Upon refresh, the sidebar appears. I have been using the following CSS code to hide the sidebar on mobile without any issues. 
      @media only screen and (max-width: 993px) {
      /* hide sidebars */
           .plsb {
              display: none !important;
          }
      }
      I tried to add the following CSS to force the sidebar to show on screens that are wider than 994 pixels but to no avail. Any clue what could be causing this issue?
    • Michael Kummer
      By Michael Kummer+
      Hi guys!
      I am using the LESS/CSS Pagelines extension and tried to add the following code to make use of FontAwesome:
      a.c2a:before {
          content: "\f07a\00a0";
          font-family: "Font Awesome 5 Pro";
          Font-weight: 900;
          font-style: normal;
          font-weight: normal;
          text-decoration: inherit;
          padding-left: 4px;
      }
       
      The issue is that as soon as I have the CSS via the Custom Styling text box, Pagelines (or the extension) strips out the backslashes (\). As a result, I had to abandon the CSS/LESS extension and instead add all my CSS code to a separate .css file.
      Is there a fix or workaround for this?
      Thanks
      Michael
    • glyph.marketing
      By glyph.marketing+
      Hello, I am having a problem similar to that experienced by Michael Kummer here. We have pages that show this automatic scrolling issue (examples here and here) and it is sufficiently annoying that we have seen customers bounce while trying to convert. Strangely, it only happens at specific resolutions, so it can be difficult to reproduce. In general we can only consistently reproduce it on a 4k resolution with a browser width between 1517 and 1536px. 
      Thanks to Michael Kummer's help we were able to set the overflow-anchor property to none in the entire body, which fixed the issue as far as we can tell, but also obviously disabled scroll anchoring for the whole site. I tried applying it to the specific element that looked like it was being reloaded, which was the PL Meganav extension, but that was unsuccessful. 
      Can anyone help us figure out which element or ID we can apply this property to, so that we can fix the scrolling issue but not disable scroll anchoring for the entire site?
      Thank you - 
      Glyph Language Services
×