Weebly - Adsense in the vertical menu - html

I am using weebly as my website builder. I am not able to put Adsense advertisement in the vertical menu - I am only allowed to put it in the content window if I use the editor.
I assume I will have to modify the css/html and create content panel in this area (see screenshot) but unfortunately I have no idea how can I do it. Any ideas please?

Put an adsense ad under the navigation menu seems to be impossible without modify the HTML and CSS code.
To do it, you just have to export your theme (Settings > Un-published > Download the archive) and import it (Design > All themes > My Custom Themes > Import theme). An advice, to import the theme with success, read the recommandations because, otherwise, you will have error messages. After, edit the navigation menu in your new custom theme, add your adsense code, probably, in the #sidebar div and save modifications.
I hope I could help you and say me if you have any other problem.

You can insert anything on your vertical menu. I've done that 100%. I was able to insert a search button on the navigation bar and surprisingly, you can insert anything on it.
The technique is simple, just place the HTML on the Lay out area under Design Tab. Then insert the CSS on your sites header or on the main-style.css.
This is rather a long tutorial to make it clear to you. Here is my tutorial on how to insert an element to your navigation: http://www.myweeblytricks.com/2014/07/inserting-search-box-in-weebly.html
Good luck!

Another much simpler way would be add the Column element beside your content, and adjust the settings of the Adsense Element to 'Skyscraper'

Related

Remove social menu footer

I am trying to create a website with wordpress, but I was asking me if it was possible to remove a "duplicate" menu --> I actually use Reyjavik theme, and created a child theme. It is possible to add a Social menu in the menu area. I implement a social menu and thought it was only present on the header part of the website. But no, it's also present in the footer..
I searched a lot on the internet, and saw that one way would be to write diplay: none but that it was not a good way for SEO.
Do you know how could I do to remove this footer link within my child theme without do a copy & modification of the entire main.php file please ? Is there a way like additional style.css file to block this button please ?
PS : It's not a widget
Thank you for your help !
Jerry
You can set visibility: hidden.
display:none means that the element will not appear on the page at all (although you can still interact with it through the dom). There will be no space allocated for it between the other elements.
visibility:hidden means that unlike display:none, the element is not visible, but space is allocated for it on the page. The element is rendered, it just isn't seen on the page.
Andrey's comment is worked well. The alternative way I would recommend is to remove source code by creating a child theme as you have done before. It will good for your performance which is better than overriding CSS.
There are a few steps
Copy menu-social.php from templates/parts/menu in Reyjavik theme
Create templates folder in child theme
Create parts folder in templates folder
Create menu folder in parts folder
Paste menu-social.php and edit source code (or remove it)
Hope it works to you!

How to remove link from header navigation within the Astra theme for wordpress?

Made a wordpress website with the Astra theme and I want to remove a link from the header navigation because I only want my logo to be the link to the homepage. I haven't found any working solutions yet.
I have already looked through the backend of the theme and wordpress but I can't seem to find it anywhere. I also went through the code but that didn't get me anywhere either.
If you could take a screenshot of the specific link element that you are trying to remove that might help me understand better your situation to I can better assist you. That said, here are a few observations that might help you achieve what you are looking for.
From my end, when I install the Astra theme locally I only see two links in the navbar (header): 1) The Brand logo link (the link to the website's home page) on the left and 2) The "Sample Page" link to the only page (the default sample page) I have in my WordPress development website.
If what you are trying to do is remove page links in the navbar (header), then it looks like to me that the free version of this theme has relatively limited customization options and by default the navbar shows your published pages as navbar links (links on header area).
So as is, I think you have two quick options:
1) Disable the menu altogether, which will leave your navbar (header) with the Brand Logo link only. You can do that in the following way:
Go to:
Appearance -> Customize -> Layout -> Header -> Primary Header
Then..
Check off "Disable Menu" checkbox option. Then press the "Publish" button at the top to save this change.
From what I can see, this basically removes the navbar links on the right and leaves the Brand logo link to the website's homepage on the left only. This sounds like what you were trying to do although I am not entirely sure that is the best solution.
2) You can also simply be mindful of the way the free version of the them works with respect to the navbar (header), which, as I mentioned above, seems to display your published pages as navbar links. With that in mind, you should be able to influence what gets displayed as your navbar (header) links by adding/changing/removing your PAGES through the "Pages" from your WordPress Admin Dashboard menu. For example, in my case, if I wanted to remove the "Sample Page" navbar (header) link, all I need to do is remove or set the page visibility to "Private". You can do that like this:
Pages -> *Select Specific Page that comes up as navbar (header) link, in my case "Sample Page".
Then..
Press "Move to Trash" button. OR simply click "Public" next to where it says "Visibility" and then select "Private" from the drop-down. Make sure you save the changes to the page as per the usual page editing process.
I hope this helps you with your quest. And if this does not quite help you with what you were trying to achieve, please do add a screenshot so I can get a better idea of what you are looking to accomplish.
Cheers!
Arty

Missing Menu In Header

setting up a basic website. I know basic HTML & CSS, but it's only enough to at least play around.
I was using WordPress editor to change some of the code, now the menu for my header has disappeared (contains home, blog, contact).
Website: http://onwardsdigital.com.au/
I can see it's still their in the source code so not sure why I can't see it and it's visible on mobile version.
Thanks for your help
Your css has this entry:
#main-nav-mobile {
display:none;
background-color: #f9f9f9;
That is being used by the DIV with the class main-nav-mobile. If you get rid of the display:none, it will show up. Did you come up with that entry, or is it Wordpress? If Wordpress, you might want to ask the people who did the template why they have that class set to not display.

Trying to make a language switcher on wordpress

I have a perfectly working language switcher at the moment on my blog --> oihanevalbuenaredondo.be
The thing is. I don't want the language switching links in my sidebar. The plugin that I installed only allows me to drag the widget to the sidebar. So there isn't a visible code that I can just copy and paste somewhere else. (i want it at the top of my page above the header).
I have consulted the help page of the plugin which says that I can put the code pll_the_languages( $args ); between the brackets, I need to insert a certian code. anywhere I want to switch the language. But I have no idea how. Because that code looks like a div that you put in your css. This is what the only box where I can insert my code --> image. thats the box where I can put my code in , that's what will show up above my header. I also have another page where I can put some css, div styles,...
this is the help page where they explain it: https://polylang.pro/doc/the-language-switcher/
Can anyone tell me the code that I can insert in the box of the image?

How do I add a link back to my main webpage from a page written with mkdocs?

I am building a general website that also has a documentation page. For the docs page I'm using mkdocs. I would like a link in the docs page, ideally in the top right corner, that goes back to my main webpage. I know how to put links inside the docs, but I'd like this to appear like a header. Is there a way to do this?
No, this is not possible at this time. However, this is the subject of issue #989 and may be added in the future.