*

no6fr

  • *
  • 4 posts
adding text or links to the header
« on: March 28, 2017, 11:16:39 PM »
Can anyone help!?

With the Zara theme, I need help adding text and / or links to the header area next to the 'information' link
.
I have tried working with the header.php file but I'm not getting anywhere. Also I am wondering if adapting the CSS aswell or instead is a better idea.

*

MB Themes

Re: adding text or links to the header
« Reply #1 on: March 29, 2017, 09:48:41 AM »
@no6fr
You can add only static page here.
Links can be added in header.php under this line:
Code: [Select]
              <?php while(osc_has_static_pages()) { ?>
                <span><a href="<?php echo osc_static_page_url(); ?>" title="<?php echo osc_esc_html(osc_static_page_title()); ?>"><?php echo ucfirst(osc_static_page_title());?></a></span>
              <?php ?>

In format:
Code: [Select]
<span><a href="#">link</a></span>
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

no6fr

  • *
  • 4 posts
Re: adding text or links to the header
« Reply #2 on: March 29, 2017, 09:56:40 AM »
Hi,
Thanks for the response.
I've added the 2 links that i want here, but they appear within / under the information tab.

Can you tell me how i can have them next to the information tab please:)

*

MB Themes

Re: adding text or links to the header
« Reply #3 on: March 29, 2017, 10:04:27 AM »
@no6fr
You need to find proper place, not sure about your intentions.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

no6fr

  • *
  • 4 posts
Re: adding text or links to the header
« Reply #4 on: March 29, 2017, 10:08:05 AM »
i think i'm getting there...... i've tried to add a link here: http://d.pr/i/NXX2

i want it to look the same as the contact link (not underlined etc)

*

MB Themes

Re: adding text or links to the header
« Reply #5 on: March 29, 2017, 10:18:21 AM »
@no6fr
Copy classes of those elements or css styles.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots