Extra Css coding problem

Hello

I put this into extra CSS_ the only that woorjs is "media only screeen I got from Kharis "_ What is wrong _ Please help me.

Kind Regards
Peter

/*

Header {

.navigation .#mainnav ul ul a {
	font-family: "Orbitron", sans-serif !important; }     
.navigation .#mainnav ul li a {
	font-family: "Orbitron", sans-serif !important;

}
}

/
/

Button {
.roll-button {
font-family: “Orbitron”, sans-serif !important;
font-size: 13px !important;
font-weight: 500 !important;
text-transform: lowercase !important;
}
}

*/

@media only screen and (max-width: 767px) {

.site-header .site-title {
font-size: 40px !important;
}

}

/
/

Footer php .@package Sydney {

.footer id="colophon" class="site-footer" role="contentinfo" {
php printf( __( 'becht aps', 'sydney' ), 'WordPress' );
php printf( __( 'www.becht.dk', 		'sydney' ), 'aThemes',  ); 
}

}

*/

Hello there,

Could you please share the link to the thread where you found that code?

To help you correct the code, you can validate it by using this tool.

Regards,
Kharis

Hi Kahris

The site is www.becht.dk

the link to extra CSS is
http://www.becht.dk/wp-admin/customize.php?return=%2Fwp-admin%2F

the link to stylesheed CSS is
http://www.becht.dk/wp-admin/theme-editor.php

The link to the footer.php is,
http://www.becht.dk/wp-admin/theme-editor.php?file=footer.php&theme=sydney-pro-ii

I tried the valid tool and it reportet; “no error found”

Do this help ?

Kind Regards Peter

Helle

This worked better _ but Im really dont know what im doing.
The preloader and media screen works but not the other extra CSS

Kind Regards
Peter

/*
Du kan tilføje din egen CSS her.

Klik på hjælpeikonet ovenfor for at lære mere.
*/
.preloader .pre-bounce1, .preloader .pre-bounce2 {
display: none;
}
.preloader .spinner {
background-image: url(http://www.becht.dk/wp-content/uploads/2015/10/favicon3.png);
width: 200px;
height: 100px;
background-repeat: no-repeat;
background-size: contain;
}

.#mainnav ul ul a {
font-family: “Orbitron”, sans-serif !important; }
.navigation .#mainnav ul li a {
font-family: “Orbitron”, sans-serif !important;
}

.button .roll-button {
font-family: “Orbitron”, sans-serif !important;
font-size: 13px !important;
font-weight: 500 !important;
text-transform: lowercase !important;
}

@media only screen and (max-width: 767px) {

.site-header .site-title {
font-size: 40px !important;
}

}

@package Sydney {

.footer id="colophon" class="site-footer" role="contentinfo" {
php printf( __( 'becht aps', 'sydney' ), 'WordPress' );
php printf( __( 'www.becht.dk', 		'sydney' ), 'aThemes',  ); 
}

}

Try to replace the below code block:


.#mainnav ul ul a {
  font-family: "Orbitron", sans-serif !important; 
}

with:


#mainnav ul ul a {
  font-family: "Orbitron", sans-serif !important; 
}

What is the objective of doing this?


@package Sydney {

.footer id=”colophon” class=”site-footer” role=”contentinfo” {
php printf( __( ‘becht aps’, ‘sydney’ ), ‘WordPress’ );
php printf( __( ‘www.becht.dk’, ‘sydney’ ), ‘aThemes’, );
}

}

Do you want to replace the credit text? If so, you have to edit the footer.php file in the child theme mode.

Replace this code block:


<footer id="colophon" class="site-footer" role="contentinfo">
	<div class="site-info container">
		<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'sydney' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'sydney' ), 'WordPress' ); ?></a>
		<span class="sep"> | </span>
		<?php printf( __( 'Theme: %2$s by %1$s.', 'sydney' ), 'aThemes', '<a href="https://athemes.com/theme/sydney" rel="designer">Sydney</a>' ); ?>
	</div><!-- .site-info -->
</footer><!-- #colophon -->

with:


<footer id="colophon" class="site-footer" role="contentinfo">
	<div class="site-info container">
		Your text goes here
	</div><!-- .site-info -->
</footer><!-- #colophon -->

Regards,
Kharis

Thanks Kharis

I used the footer for info to my firm _ I changed the text in the footer php _ but it changes back everytime when I upgrade the theme. But thats ok.no problem.

Everything worked perfect, Thanks again

Kind Regards
Peter

Great! Glad to hear that you’ve gotten it sorted.

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis

thanks kharis

best peter