Jump to content

Archived

This topic is now archived and is closed to further replies.

fabienfons

iFooter text color

Recommended Posts

fabienfons

Hi,

 

i use iFooter on black background.

Some title are white, but not all the menu.

Id' like to see all the menu and text with White color...

 

Is it possible ?

 

Thanks for your help

 

Fabien

Share this post


Link to post
Share on other sites
Danny

Hi Fabien,

 

In the Footer canvas area settings, under Background Theme select an option that has a dark background and white text, such as Dark Grey Background, White Text. This should resolve your issue.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny

OK, it appears that the menu item color being used in one you have set in your Color options. Therefore, use the following:

 

/**
 * iFooter section CSS changes
 */
/* changes the border color */
#site .ifooter-top, #site .section-ifooter .breadcrumbs-container {
  border-color: red;
}
/* change color of breadcrumbs text color & breadcrumbs icon */
#site .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs-icon,
#site .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs a,
#site .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs span.current {
  color: white;
}
/* change color of menu items */
#site .section-ifooter li > a {
  color: white;
}
 
Change the values to whatever you like. In regards to the breadcrumb arrow, this is coming from an image and not an icon, so you will need to edit that image if you want to change the background color.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fabienfons

As usual, it's perfect :)

THANK YOU VERY VERY MUCH for your help !

Share this post


Link to post
Share on other sites
fabienfons

Sorry, it's good, but i 've got a new problem : 

 

On the pages with black background, it's perfect, but on the pages with white background, it is not good.

What is the easiest solution for this problem ?

Could i set this only on pages with black background ?

 

Thanks

Share this post


Link to post
Share on other sites
Danny

What you're going to need to do is use the same code again, but this time prefix it with the page id class for pages that have a white background and then change the color values.

 

For example:

 

.page-id-33 .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs-icon,
.page-id-33 .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs a,
.page-id-33 .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs span.current {
  color: black;
}
 
This will change the color value from white to black on a page that has an id of 33, to locate the page id, simply inspect your page using Chrome dev tools and view the body tag.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fabienfons

i wrote this : 

 

.page-id-5249 .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs-icon,
.page-id-5249 .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs a,
.page-id-5249 .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs span.current {
  color: black;
 
/**
 * iFooter section CSS changes
 */
  
/* changes the border color */
#site .ifooter-top, #site .section-ifooter .breadcrumbs-container {
  border-color: white;
}
/* change color of breadcrumbs text color & breadcrumbs icon */
#site .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs-icon,
#site .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs a,
#site .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs span.current {
  color: white;
}
/* change color of menu items */
#site .section-ifooter li > a {
  color: white;

 

}
 
 
When i preview Live (with Cmd Return) it works, but if i publish and refresh, it doesn't... :(

Share this post


Link to post
Share on other sites
Danny

Yeah you will need to replace the code that has the prefix #site, with the ids for the pages that have a black background too, as it is likely that #site is overriding your .page-id-xx rules.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fabienfons

i tried this : 

 

/**

 * iFooter section CSS changes
 */
  
/* changes the border color */
.page-id-3756 .ifooter-top, .page-id-3756 .section-ifooter .breadcrumbs-container {
  border-color: white;
}
/* change color of breadcrumbs text color & breadcrumbs icon */
.page-id-3756 .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs-icon,
.page-id-3756 .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs a,
.page-id-3756 .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs span.current {
  color: white;
}
/* change color of menu items */
.page-id-3756 .section-ifooter li > a {
  color: white;
}
 
 
On the black page, it doesn't work on the page id 3756, why ???

Share this post


Link to post
Share on other sites
fabienfons

i tried too : 

 

/**

 * iFooter section CSS changes
 */ 
  
/* changes the border color */
.ifooter-top, .page-id-3756 .section-ifooter .breadcrumbs-container {
  border-color: white;
}
/* change color of breadcrumbs text color & breadcrumbs icon */
.page-id-3756 .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs-icon,
.page-id-3756 .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs a,
.page-id-3756 .section-ifooter .ifooter-top .breadcrumbs-container .breadcrumbs span.current {
  color: white;
}
/* change color of menu items */
.page-id-3756 .section-ifooter li > a {
  color: white;
}
 
 
 
 
everything is ok on white background.
On black background, the last sentence doesn't work : 
/* change color of menu items */
.page-id-3756 .section-ifooter li > a {
  color: white;
}
 
i really don't understand why...
 

Share this post


Link to post
Share on other sites
Danny

I am not seeing any CSS loaded that is related to the custom CSS you mentioned above, are you sure you have added it ?

 

Also, can you post all the CSS you have so far, please do not paste this into your post, please use a pastie service instead.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
Danny

The reason I said not to post your CSS here is that when I thought you may paste the entire code you have used, which is far too long to review. Therefore, pasting it into a pastie service makes it easier to read.

 

Anyway, to resolve your issue use the following format for your CSS.

 

.page-id-3937 #site .section-ifooter li > a,
.page-id-3756 #site .section-ifooter li > a {
color: white;
}
 
Basically, use .page-id-xx and then apply #site then the .section-ifooter css, this will resolve your issue.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fabienfons

haaaaaaaaaaaaa !!!!!!!!!!!

Its Works !

 

PERFECT, Thank You !!!!

Share this post


Link to post
Share on other sites
fabienfons

hum, last question : 

With the method explained here, i have to add manually my iFooter on each page. It's very cool, it works !

 

But, would it be possible to put the iFooter in the footer, and to set a Black footer on a page ID, and a white footer on another page id ?

Do you see what i mean ?

Share this post


Link to post
Share on other sites
Danny

Not sure what you mean. If you can create a new topic as your original question has been answered. When creating your new topic, go into detail, I can try assist.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
fabienfons

ok !

Share this post


Link to post
Share on other sites

  • Similar Content

    • Lisa Haran
      By Lisa Haran+
      Hi 
      I have a map here http://www.iloveoffset.com/maps/
      I want to add several pointer locations to the map, but when I do they do not appear.
      On this map there are 2 pointer locations and as you can there is only one visible.
      Earlier today I added 7 and could only see 4 so there is something odd going on.
      My theme is up to date
    • clj182
      By clj182+
      Hello,
      I've been having trouble unlocking the template section for past couple of weeks. When I try clicking nothing happens. 
      I've deleted my custom css and removed plugins. Im down to having only the following plugins:
      Akismet
      Contact Form 7
      DMS Professional Tools
      Pagelines Updater
      WooCommerce
      It was working fine before i have no idea what's going on with it.
    • flourishdesignstudio
      By flourishdesignstudio+
      My DMS 2 site http://www.heart-stone.com/ will not save any new custom css... I can still edit templates and publish those but any custom css that I enter never saves.
      All WP files, themes, and plugins are up to date. 
      Any thought about what might be causing this?
    • flourishdesignstudio
      By flourishdesignstudio+
      Is there a way to edit the custom CSS via FTP? I know I can edit the custom code in the Chrome editor but is there a file path I can use to find and edit the CSS directly from our FTP?
      Thanks in advance for the help!
    • nizami
      By nizami+
      Using navbar section with correctly configured WP menu to display main navigation at https://elenaangel.com. 
      All fine in desktop viewport. Menu displays twice in hamburger mode. How to fix this please? 

×