Jump to content
Sign in to follow this  
akakjb

site not responding to CSS

Recommended Posts

akakjb    0
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    547
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    547
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    0
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    436
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    0
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    0
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    0
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    436
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

    • Michael Kummer
      By Michael Kummer+
      Hi guys,
      every since Chrome introduce scroll anchoring (see chrome://flags) blog posts on my page start scroll automatically as soon as the user scrolls down a bit. It is super annoying and I don't know exactly what triggers the incompatibility with Chrome's latest feature that is supposed to improve usability.
      Since I don't know what causes it (Pagelines, or a Plugin), I would like to disable the feature using a CSS override that Google describes as follow:
      "Scroll anchoring aims to be the default mode of behavior when launched, so that users benefit from it even on legacy content. A CSS property overflow-anchor can disable scroll anchoring in part or all of a webpage (opt out), or exclude portions of the DOM from the anchor node selection algorithm. This property supports the following values when applied to an element E:
      overflow-anchor: auto (the default value) declares that the DOM subtree rooted at E is eligible to participate in the anchor node selection algorithm for any scrolling box created by E or an ancestor of E. overflow-anchor: none declares that the DOM subtree rooted at E is not eligible to participate in the anchor node selection algorithm for any scrolling box created by E or an ancestor of E." Do you guys happen to know how to use that property with the ROOT element so it applies to the whole page?
      Thanks
      Michael 
    • jeomiland
      By jeomiland+
      In DMS2 there was a button to click to flush pagelines cache. Don't see this in platform5. Am having a big problem with caches. Have W3 Total cache plugin, but now even if I deactivate it, the code in css/less seems to not be registering??? I can delete all custom css, save, then add just a bit of the css (that used to work just fine the other day) and that small section of css takes effect. Then when I paste the whole css (that worked fine the other day), it seems to not work???
      About to restore DB backup from a couple days ago to see if that solves it, but it's a drag that this issue exists. Makes it hard to finetune the site.
      Thanks for help
      site is: http://permacultureecovillage.com/lev2017/
      lev styles most recent.css.rtf
    • wyo22ski
      By wyo22ski+
      Hello,
       
      I'm basically a designer and understand a little on how to change CSS, etc., so please excuse my ignorance...  I recently upgraded to the newest platform from the DMS and my old DMS theme no longer functions.  I'm trying to replace the image slider that my Horizon Photography Theme (Nick Haskins) had created.  The Impulse image slider seemed the closest to what I need, but there are problems.
      It seems the the Impulse section for sliding images defaults to the image width, no the height.  I can change the Impulse stage height and width, but this does nothing to the internal content.  For instance, if I change the height to 200 pixels, the image remains the full width and only shows a cropped section.  I would like the ability to change the Impulse height, and have the image height fit space. 
      I've put this custom CSS in, but again, this only controls the stage height of Impulse:
      .pl-sn-impulse .pl-impulse-cell .cell-wrap, .pl-impulse-container, .owl-stage-outer {
        width: 100%;
      }
       
      Any suggestions welcome.  Thanks 
    • Objectif-Mariage
      By Objectif-Mariage+
      Hello. 
      I have just realized that CSS (Less plugin) , is not working..... I have disable all plugins (except PL CUSTOM LESS and PL5) , and ... it's not working ... 
      It's not the first time. Usually I had trouble with a plugin name Autoptimize , but it's Desactivate now , all memory have been purge, and it's still not working! :-/ So it's not from this plugin. 
      NB : When I am logged on my website, if i go on the black wordpress dashboard bar, go on the PL icon, clic on </> LESS/CSS => then the page suddenly apply the CSS .... But As soon that i reload the page, nothing. I think the problem is that the plugin LESS/CSS does not load properly (if I can say that with my simples words).
      I order to keep the site "good looking" I have temporally copy/paste all my LESS code in a plugin : Script n Styles that apply the LESS/CSS code... but it's not a solution for long time.
      Can someone help me ? Did I do something wrong ? Is it an update ? 
       
      my website : https://www.wedding-photography-minneapolis.com
    • Jason
      By Jason+
      Feel free to delete this post if its not helpful or its just plain wrong.
       
      I though it might be useful to share how I customize the size of the builder. (reduce my eyestrain )
      1 - install stylerbot extension in chrome (stylerbot keeps this css every time you access the url)
       
      2- add this css to stylerbot for the site you are working on
      .CodeMirror {
          font-size: 14px;
          height: 600px;
      }
      .pl-workarea.pl-has-sidebar .pl-workarea-sidebar-container {
          right: 0px;
          width: 500px;
      }
      .pl-workarea.pl-has-sidebar .iframe-container {
          right: 500px ;
      }
       
      change sizes to suit.
       
      Cheers.
×