Tagged: x
-
AuthorPosts
-
September 19, 2016 at 4:33 pm #1182131
wowflakParticipantHi
I had a line break and a font size change in a page title. After upgrading the grid to 2.0 this stopped working.See on this page:
http://bicyclem.wpengine.com/?page_id=71If you hover over the 4th box down in the middle. It is not reflecting the line breaks and font change I have in the Page Title. Here is what is in the page title:
JIM PETERIK<br> <font size=”4″ >SURVIVOR / THE IDES OF MARCH</font>How can I get this to work. I want the artist name the large size and underneath it should be the bands in a smaller font.
Thanks
September 19, 2016 at 11:44 pm #1182602
RupokMemberHi there,
It’s within anchor tag so your code should not work in that way and you should not use font tag as it’s deprecated and no longer supported in HTML5. Let’s try this instead :
JIM PETERIK<span>SURVIVOR / THE IDES OF MARCH</span>Then add this under Custom > CSS in the Customizer.
.tg-item-title > a span { display: block; }Let’s add other CSS here (i.e. font-size) if needed.
Cheers!
September 20, 2016 at 1:54 pm #1183547
wowflakParticipantThis reply has been marked as private.September 20, 2016 at 2:43 pm #1183622
Nabeel AModeratorHi again,
You can replace your title
JIM PETERIK<br> <font size="4" >SURVIVOR / THE IDES OF MARCH</font>with this:JIM PETERIK<span>SURVIVOR / THE IDES OF MARCH</span>And then add the following code in your Customizer via Appearance > Customize > Custom > Edit Global CSS:
.tg-item-title > a span { display: block; }Hope this helps!
September 20, 2016 at 6:25 pm #1183834
wowflakParticipantHi
That is exactly what I did, and it did not work. Would mind please looking at it again?
Thanks!September 20, 2016 at 8:38 pm #1184022
JadeModeratorHi there,
Would you mind providing your admin login so that we could check your current setup further?
Thank you.
September 20, 2016 at 9:04 pm #1184092
wowflakParticipantThis reply has been marked as private.September 21, 2016 at 1:59 am #1184247
RupokMemberHi there,
I can’t see the span tag for the text. Make sure to add them.
Thanks!
September 21, 2016 at 8:32 am #1184603
wowflakParticipantThis reply has been marked as private.September 21, 2016 at 9:51 am #1184732
ChristianModeratorHey there,
Sorry for the confusion. The HTML tags are now stripped off the title so you could not style them anymore. Regretfully, there is no work around for this anymore.
Thank you for understanding.
September 21, 2016 at 9:02 pm #1185812
wowflakParticipantThis reply has been marked as private.September 22, 2016 at 12:16 am #1185983
Paul RModeratorHi,
You can disable your page title and add the title manually using the text element.
eg.
<h2>JIM PETERIK<br> <font size="4" >SURVIVOR / THE IDES OF MARCH</font> </h2>http://screencast.com/t/1T8fGuZeS8
Hope that helps.
September 22, 2016 at 7:19 pm #1187142
wowflakParticipantThis reply has been marked as private.September 23, 2016 at 12:14 am #1187505
RadModeratorHi there,
Been trying it and it’s not possible with CSS alone since the text itself is one line. Maybe this would help http://stackoverflow.com/questions/33588235/jquery-insert-html-after-x-number-of-words-inside-a-div-without-using-split
Inserting
<br>to nth word.Thanks!
September 28, 2016 at 9:10 am #1193962
wowflakParticipantHi
Sorry but I dont understand this suggestion. Anyone else have any ideas?
Thanks -
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1182131 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
