Jump to content
nomadcapitalist

How to add code under header image

Recommended Posts

nomadcapitalist

I want to add a custom horizontal opt-in under my header image but above the navbar at www.nomadcapitalist.com. I already have it coded to match the width of the header image.

 

I read somewhere here to go to Settings->Custom->Header Widgets, but I don't have such an option. Any ideas?

 

Also, I can't seem to figure out how to reduce the white space/padding around my header image. I'd like it to blend in with the similar colored background.

Share this post


Link to post
Share on other sites
Rob

Hi,

 

I think you're confusing some terminology. Let me clarify this so you're using the same wording we do. 

 

The Header is a complete section which includes the branding, navigation, social media, etc.  If you add something below it, that would be the content. I think you mean you wish to add a new section below the navigation.

 

As I understand it, you have custom code you want to add. Not knowing the nature of this code, it's hard to tell you how to apply it. Depending on the nature of the code, this may be done in one of two ways.

 

Can you tell me what kind of code we're talking about? Is it HTML, Javascript, PHP or something else?


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
nomadcapitalist

Thanks for straightening out my post. I guess I'm saying under the "header image". Between the "header image" (right term?) and the navbar. It is basic HTML; a simple table running about 950x80 that contains my a "tease", my opt-in code, and an image submit button. Old school stuff.

Share this post


Link to post
Share on other sites
Rob

Hi,

 

You have two options:

 

1. You can implement a Full-Width Sidebar or Universal Sidebar, and place it under the Branding image (the name of the header image) via Dashboard > PageLines > Drag & Drop > Header.  Then, you go to Dashboard > Appearance > Menus and add a text widget in that sidebar. Paste your HTML code in the text widget and save.  The problem with this is you will have considerable padding and margins to contend with.

 

2. You can download Action Map plugin (free in our Store) and activate it. Also download and activate PageLines Customize.  And if you're a Plus member, you may optionally want to download Hooker plugin from our Store, too. When you use Action Map to find the correct hook, you can then paste the correct HTML to Hooker. Alternatively, you can craft your own hook for PageLines Customize in the functions.php file.  The downside to this is, it can be a little complex if you're not familiar with the process.  What you'll lose in time, you'll make up for in learning and effectiveness of your code.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
MumsgoffSuifs

Яндекс представил усовершенствованный поиск книг https://3wk.ru/novosti-ryinka/iandeks-predstavil-ysovershenstvovannyi-poisk-knig.html
Как правильно использовать расширение Google Tag Assistant в работе веб-аналитика https://3wk.ru/prodvizhenie-v-internete/kak-pravilno-ispolzovat-rasshirenie-google-tag-assistant-v-rabote-veb-analitika.html

Share this post


Link to post
Share on other sites
MumsgoffSuifs

Как депрессивное состояние связано с сердечными заболеваниями http://budu-bogat.ru/kak-depressivnoe-sostoianie-sviazano-s-serdechnymi-zabolevaniiami/
Настроение человека влияет на длительность его жизни http://budu-bogat.ru/nastroenie-cheloveka-vliiaet-na-dlitelnost-ego-jizni/

Share this post


Link to post
Share on other sites
MumsgoffSuifs

Исландия: тамлапс сьемка от Сиейна Рекдала https://driveservise.ru/islandiia-tamlaps-semka-ot-sieina-rekdala/
11 книг для девочек, которые невозможно отобрать у ребенка https://damskiyklub.ru/children/11-knig-dlia-devochek-kotorye-nevozmojno-otobrat-y-rebenka.html

Share this post


Link to post
Share on other sites
MumsgoffSuifs

Ученые выяснили причину плохого настроения по утрам https://avtopokupka102.ru/news/ychenye-vyiasnili-prichiny-plohogo-nastroeniia-po-ytram.html
«Прочь стыдливость и смущение!» или как сексуально раскрепостить девушку https://avtopokupka102.ru/relation/proch-stydlivost-i-smyshenie-ili-kak-seksyalno-raskrepostit-devyshky.html

Share this post


Link to post
Share on other sites
MumsgoffSuifs

Два важных подарка для мужчины, которые он не ожидает получить http://budu-bogat.ru/dva-vajnyh-podarka-dlia-myjchiny-kotorye-on-ne-ojidaet-polychit/
iqos запустил проект «Настоящие истории» – победители примут участие в создании фильма http://budu-bogat.ru/iqos-zapystil-proekt-nastoiashie-istorii-pobediteli-primyt-ychastie-v-sozdanii-filma/

Share this post


Link to post
Share on other sites
MumsgoffSuifs

Названы самые популярные среди любителей походов регионы России: Путешествия: Моя страна Названы самые популярные среди любителей походов регионы России: Путешествия: Моя страна
Продается подаренная квартира. Безопасно ли ее покупать? Продается подаренная квартира. Безопасно ли ее покупать?

Share this post


Link to post
Share on other sites
MumsgoffSuifs

Имущество Должника В Исполнительном Производстве

https://leonteva-urist.ru

Заявление Взыскателя Исполнительному Производству

Share this post


Link to post
Share on other sites
MumsgoffSuifs

Каким будет новый Duster? Появились первые подробности https://asiam.ru/avto/kakim-bydet-novyi-duster-poiavilis-pervye-podrobnosti.html
Кроссовер Chevrolet Trailblazer добрался до России: один мотор, есть полный привод https://asiam.ru/avto/krossover-chevrolet-trailblazer-dobralsya-do-rossii-odin-motor-est-polnyj-privod.html

Share this post


Link to post
Share on other sites
MumsgoffSuifs

Снуп Догг опубликовал у себя видео с Максимом Галкиным: Coцсети: Интернет и СМИ https://78q.ru/banks/snyp-dogg-opyblikoval-y-sebia-video-s-maksimom-galkinym-cocseti-internet-i-smi-lenta-ru.html
Блогерша раскрыла простой способ очистить стиральную машину: Явления: Ценности https://78q.ru/banks/blogersha-raskryla-prostoi-sposob-ochistit-stiralnyu-mashiny-iavleniia-cennosti-lenta-ru.html

Share this post


Link to post
Share on other sites
MumsgoffSuifs

Модная женская одежда Scanlan Theodore весна-лето 2022 https://ladyinwhite.ru/kollektsii/modnaia-jenskaia-odejda-scanlan-theodore-vesna-leto-2022/
Street style на Неделе моды в Милане весна-лето 2022 https://ladyinwhite.ru/kollektsii/street-style-na-nedele-mody-v-milane-vesna-leto-2022/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Similar Content

    • Paul
      By Paul+
      I was surprised to see I had no menu today - out of the blue - its actually moved to the bottom of the page!  After hours of fiddling and disabling every single plugin, leaving just plagelines the issue is still present.  See video for a basic text box - I moved it into the head and it jumps to the bottom and shows just above the footer but below the main content.  I have a temp fix by placing the menu into the first row on the main content but it does mean other than my home page, all other pages have no menu.  A quick fix is very urgent for this bug.
      https://thelaptopfixers.com
       
       
    • russe-intensif
      By russe-intensif+
      Hi team,
      checking my site today, i'm surprised to see my MegaNav all in bottom of the pages, while it's in header.
      After getting to change it in couple of pages onto Template part (too time consuming !), i'm desperate and ask you for help :-)
      apprendre-le-russe-avec-ania.fr
      Thank you in advance !

    • flourishdesignstudio
      By flourishdesignstudio+
      Hello,
      I have an older site that was built using PageLines several years ago (prior to the release of DMS). I wanted to leverage some of the power of your new PL5 plugin but the theme prevents be from adding any generated custom sidebars to the theme (through the drag and drop interface) and does not allow me to add any PL5 sections/containers/etc to the header or footer. Is there any way to easily override that or am I stuck only using PL5 in the content areas of the site?
      Thanks so much for the help!
    • JP
      By JP+
      Hello,
      How can you set the translations with platform5, the parts that are not in pages or posts? Texts and images…
    • romanondrasek
      By romanondrasek+
      hi all, I have some trouble using PL5 on my site. 
      I used plugins for event calendar (event on) and plugin (timetable responsive scheduler for WP) for schedule (classes) in the gym.
      The problem is, that post from this 2 plugins are shown without menu in header and footer. (I setup header and footer) in the page editor for all type of page. 
      When I create a lesson, it creates posts with slug (I have a slug "lekce" & event for events).
      I try to edit the post with PL editor, but editor is not opening on the post.

      Do you have some idea where should be some problem? Thanx so much.
      here are links for the sites :
      site with schedule :
      http://www.myfit.cz/rozvrh/
      site of one of the class (pilates)
      http://www.myfit.cz/lekce/pilates/
      site with calendar :
      http://www.myfit.cz/kalendar/
      7 side with one event from the calendar :
      http://www.myfit.cz/event/pilates-instruktor-akreditovana-licence/?ri=1
      when I have my site on DMS2 it was working :-(
       
       
×