Custom Header Teaser Text with some shortcodes, a little problem.

resolved (8 posts) (2 voices)

  1. Victorross
    Member

    Hi me again, this time i want to ask if it posible to get this:

    in the Header Teaser, here you can see that i try to put it but the font-size is very big, and it doesnt look as i wish, please look this image:

    Here is the code that i use to get the info:

    [one_half]
    [simple_box]
    [mappress mapid="2"]
    [/simple_box]
    [/one_half]
    [one_half_last]
    <h1>Bistro'K</h1>
    [two_third]
    [highlight2]Dirección[/highlight2]
    [highlight2]Telefono[/highlight2]
    [highlight2]e-mail[/highlight2]
    [/two_third]
    [one_third_last]
    [fancy_link target="blank" link="#"][highlight2]Sitio web[/highlight2][/fancy_link]
    [fancy_link target="blank" link="#"][highlight2]Facebook[/highlight2][/fancy_link]
    [fancy_link target="blank" link="#"][highlight2]Twitter[/highlight2][/fancy_link]
    [/one_third_last]
    [divider]
    <blockquote><em>Breve descripción de su restaurante.</em></blockquote>
    [/one_half_last]

    I have been looking in this forum and also in google any code that let me clear the style buy i didnt succes. Is this posible?
    Thanks a lot for the great support!

    Attachments

    1. Snap2.jpg (31.6 KB, 0 downloads) 1 year old
    2. Snap1.jpg (34.7 KB, 0 downloads) 1 year old
    Posted 1 year ago #
  2. Elliott
    Support

    Hello Victorross,

    I think the problem is that you are embedding the highlight shortcode inside a fancy_link shortcode.

    Are you wanting to change the style of the fancy_link shortcode?

    If so then you can output the HTML and style it with CSS like so,

    <a class = "fancy_link" style = "font-weight: bold;" href = "#">link</a>

    Posted 1 year ago #
  3. Victorross
    Member

    Hi Elliot, i dont know if you understand what i want.
    I want to show the code that i paste before in the Custom Header Teaser Text,
    but the problem is that the Custom Header Teaser Text has his own style, and so it changes the font-size for all of the elements in the code ([highlight2], [fancy_link] and

    ) (please look the second picture)
    Is there anyway to clear the default Custom Header Teaser Text style, so it do not change the style for the elements inside?
    Thanks for your help!

    Posted 1 year ago #
  4. Elliott
    Support

    Alrighty I think I see now. It looks like Cufon is converting some of your elements.

    If possible then send us a link to your site so we can see the exact HTML/CSS that is being used.

    Posted 1 year ago #
  5. Victorross
    Member

    I send you a pm with the url, i will move the code to the Custom Header Teaser Text so you can tell me what is wrong and how to disable the cufon in this page!

    Posted 12 months ago #
  6. Elliott
    Support

    We can take off cufon for your blurb area but it would affect all of your pages / posts though Victorross. If you still want to do this then open up /wp-content/themes/awake/lib/scripts/custom.js and on line 200 you should see this,

    Cufon.replace('#blurb,#footer_teaser_text', { textShadow: '#f9f9f9 1px 1px' });

    Change it like this to take off cufon for your blurb,

    Cufon.replace('#footer_teaser_text', { textShadow: '#f9f9f9 1px 1px' });

    Posted 12 months ago #
  7. Victorross
    Member

    Hi Elliot! Thanks for the support, i find another solution and i would like to share:
    simple add the span class and the style without text-shadow for each one:

    <span class="highlight2" style="text-shadow:none;">Somenthin</span>

    Also i add the </div> before and <div> after all my code so it is something like this:

    </div> All my code for the Custom Header Teaser Text <div>

    By doing this i think i do not corrupt the sentence and it give me the original font-size.
    If you can explaind what i do better than me please do it for other customers so they can use this as solution.

    THANKS FOR SUPPORT!

    Posted 12 months ago #
  8. Elliott
    Support

    Thanks for posting your solution Victorross.

    Posted 12 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme