• jbottero

    (@jbottero)


    With the text that overlays the header image, I seem to be unable to change the font or font color. Is this part of the Pro version?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Horea Radu

    (@horearadu)

    Hi @jbottero,

    Yes, these features will be available in the PRO version. We estimate we will release the PRO version in maximum 2 weeks.

    If there is anything else I can help you with, please let me know.

    There are a few solutions. The first is probably not as easy but it is the one I have chosen to implement.
    PHP:

    1. In your File Explorer, Navigate to mesmerize\template-parts\header\hero\*yourherotypehere*
    2. For my website I am currently using the hero-content-on-center.

    3. Open the respective .php file and navigate to where it says <?php mesmerize_print_header_content(); ?>, which should be line 4.
    4. Delete this line replace it with whatever html elements you want, with whatever style you choose.
    5. Example:
      <p style=”color:white;font-size:30px;”>Look at me!</p>
      Editing your parent theme however is not my recommendation. I implemented this version to put things other than text in my hero. What I recommend is editing the CSS.

    CSS:

    1. Navigate to themes\mesmerize\style.css
    2. crtl+f “h1.hero-title” will bring you to line 5388
    3. (You can inspect all of your elements in your browser if you ever want to change other elements).

    4. Change CSS accordingly.
    5. This is definitely much safer and easier to keep a changelog of as your website is unlikely to break with CSS editing vs template editing. Good luck!

    • This reply was modified 6 years, 12 months ago by dragozir.
    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @dragozir, We appreciate the support, but you should warn people that these are dangerous and bad-practice changes before recommending them.

    The safe and good-practice advice would involve a Child Theme.

    • This reply was modified 6 years, 12 months ago by Andrew Nevins.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Text over header image…’ is closed to new replies.