BACKGROUND GRADIENT COLOR

Posted in: Newspaper
Post count: 28

Hello,

I do not know how this feature happend but I need this really!! It is very important for our site.

In mobile menu I can add the feature “BACKGROUND GRADIENT COLOR”

https://abload.de/img/unbenannt9xu26.png You can see that the colours have a flow effect and they go from dark to bright. Is it possible to add the funtion in the main menu?

If not, please add this option to the theme! This is very necessary !

https://abload.de/img/unbenannt54ui0.png

thanks

Post count: 22421

Hello,
The gradient was only added for the mobile menu, but there is a css trick to do it for the main menu as well.
Please use this code:

.td-header-wrap .td-header-menu-wrap-full{
background: red; /* For browsers that do not support gradients */
background: -webkit-linear-gradient(red, yellow); /* For Safari 5.1 to 6.0 */
background: -o-linear-gradient(red, yellow); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient(red, yellow); /* For Firefox 3.6 to 15 */
background: linear-gradient(red, yellow); /* Standard syntax */
}

I set the colors to red and yellow, but you can change these to the ones you like. Just add the code in the theme panel->custom css box.
Result: http://screencast.com/t/2hCJXMcRR

Thank you!

Post count: 28

Works!Thanks!!

Is this possible to receive the code also for top menu, footer and sub-footer?

Post count: 22421

Hi,

You can use the same parameters and just change the classes for the code. I will add all of them in the same code:
.td-header-wrap .td-header-menu-wrap-full, .td-header-top-menu-full, .td-footer-wrapper, .td-sub-footer-container{
background: red; /* For browsers that do not support gradients */
background: -webkit-linear-gradient(red, yellow); /* For Safari 5.1 to 6.0 */
background: -o-linear-gradient(red, yellow); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient(red, yellow); /* For Firefox 3.6 to 15 */
background: linear-gradient(red, yellow); /* Standard syntax */
}

Thanks.

Post count: 28

Hi,

if I just fit in the code it will works. But it is not possible to use the theme colour function any more. Because If I want to make the text colour in sub footer black, suddenly other colours will be shown.

Why?

How can I solve this problem?

Post count: 22421

Hi,
Well you cannot use both. You either use css or the theme colors. Both at the same time will overwrite one another. Change the colors in the code if you use the code method.
Thank you!

Post count: 28

Hi thanks for reply! Can you tell me the code, how it is possible to underline the thext in footer area?

http://www.w3schools.com/tags/tag_u.asp

I tried to use this code in CSS but it didn’t work.

2. https://abload.de/img/unbenannt0dk31.png

This area should have the some colour like the code in css. It appears, if I scroll up. It is not possible to put in the “background gradient color” in menu.

3. How can I edit the scroll-up button? https://abload.de/img/unbenannt00jmf.png

Thanks!

Thanks

  • This reply was modified 10 years by efaq.
  • This reply was modified 10 years by efaq.
  • This reply was modified 10 years by efaq.
Post count: 22421

Hi,

1) Try this code:
.footer-text-wrap{
text-decoration: underline;
}

2) The sticky menu is a different container than the standard menu. It has to be targeted as well with css.
Add this code:
.td-header-menu-wrap.td-affix{
background: red; /* For browsers that do not support gradients */
background: -webkit-linear-gradient(red, yellow); /* For Safari 5.1 to 6.0 */
background: -o-linear-gradient(red, yellow); /* For Opera 11.1 to 12.0 */
background: -moz-linear-gradient(red, yellow); /* For Firefox 3.6 to 15 */
background: linear-gradient(red, yellow); /* Standard syntax */
}

3) the scroll up must also be targeted with css as there is no setting for it.
you can use this class to add css properties to it:
.td-scroll-up-visible{
background-color:black!important;
}

Hope this helps.

Viewing 8 posts - 1 through 8 (of 8 total)
The forum ‘Newspaper’ is closed to new topics and replies.