Create html code Logo (not txt and not image)
-
Hey all
I have tried to add html code to the logo form field. The code displays directly on-screen. I can add plain txt and also logo image, but i want html and styled in CSS.
My CSS code works fine in pages. It is added in Additional CSS.
My HTML code also works fine when created in a code editor in HTML
CSS:
@font-face { font-family: "Strokey Bacon"; src: url(https://www.mysite.com/public_html/wp-content/themes/mytheme/fonts/strokey-bacon.ttf); } .box-set { background: none; height: 160px; position: relative; } .box { background: none; border: 0px solid #ff7b29; position: absolute; } .box-1 { font-family: "Special Elite", "1913 Typewriter", "AA Typewriter"; font-size: 30px; font-variant: small-caps; color: #194d19; left: 0px; top: 0px; z-index: 3; } .box-2 { font-family: "Special Elite", "1913 Typewriter", "AA Typewriter"; font-size: 30px; font-variant: small-caps; color: #194d19; top: 19px; left: 0px; z-index: 2; } .box-3 { font-family: "Special Elite", "1913 Typewriter", "AA Typewriter"; font-size: 50px; color: #194d19; left: 32px; top: -24px; z-index: 1; } .box-4 { font-family: "Strokey Bacon", "Stalinist One", "PT Mono"; font-size: 50px; font-variant: small-caps; font-weight: bold; text-shadow: 3px 2px #404040; color: #ffffff; top: -12px; left: 38px; z-index: 0; }
and HTML for the logo field:
<div class="box-set"> <figure class="box box-1">Ea</figure> <figure class="box box-2">We</figure> <figure class="box box-3">ST</figure> <figure class="box box-4">Army</figure> </div>
Can I do this? and how?
Thx ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Create html code Logo (not txt and not image)’ is closed to new replies.