-
AuthorPosts
-
February 24, 2021 at 8:11 am #1283311
can you help? or can another moderator Dude/Nikko/Victoria pls find some time to assist? Really stuck here….
February 24, 2021 at 12:26 pm #1283368Hi,
Try copying this code into your functions.php file:
function content_before_footer(){ echo '<img src="https://www.hoeklijst.nl/wp-content/uploads/2021/02/hoeklijst-logo-linksonder.png" class="bottom-left-image">'; } add_action('ava_before_footer', 'content_before_footer');
The image class is called bottom-left-image in this case.
Best regards,
RikardFebruary 24, 2021 at 1:07 pm #1283378Hi Rikard, pls see comment in private section!
- This reply was modified 3 years, 9 months ago by the_digital_manager.
February 25, 2021 at 12:14 pm #1283635Hi Rikard, I managed to hide the logo’s on screens smaller than 1200px. insofar so good. (am slowly understanding the code. just need to know how to glue to bottom left logo to the frame, as identical to the one on the top. with codes such as padding, left/right it moves beyond the frame.
any suggestions?February 25, 2021 at 2:03 pm #1283661woooooohoooooo
I managed! more or less. will share in a bitFebruary 26, 2021 at 4:45 am #1283783Hi,
Thanks for the update. So you got everything working as it should now then?
Best regards,
RikardFebruary 26, 2021 at 10:59 am #1283813Hi Rikard, nearly! for some other topics i started other discussions.
Perhaps it has something to do with a piece of code you added, but when I add the submenu option there”s this borderline under the submenu which goes from left to right across the screen.
Also, there’s the same thick borderline under the submenu as is with the regular menu.I searched this support-forum and tried 5 pcs of code, without any luck.can you help?
- https://www.dropbox.com/s/s2pwkthzqswm59s/Alles-voor-je-veilige-shop-gevoel-%E2%80%93-Hoeklijst.png?dl=0
- This reply was modified 3 years, 9 months ago by the_digital_manager.
February 26, 2021 at 11:12 am #1283816Rikard. to share which code I used to place the image in the site;
add_filter('the_content', 'add_content_after'); function add_content_after($content) { $after_content = '<img src="https://www.hoeklijst.nl/wp-content/uploads/2021/02/hoeklijst-logo-linksonder.png" class="bottom-left-image">'; $fullcontent = $content . $after_content; return $fullcontent; }
February 28, 2021 at 6:06 am #1284200Hi,
Thanks for the update. Please try this CSS as well to remove the border from the sub menu:
#top .av-submenu-container { border-bottom-width: 0; }
Best regards,
RikardMarch 1, 2021 at 10:30 am #1284353Rikard, thx for this code, I added it. The strange thing is that initially the border is there, it only dissapears when you start scrolling down.
I think that often enfold shows a line like this when you place an element outside of a column, and as you cant place this element inside a container, I’m thinking that this might have smt to do with this?
Any suggestions? the url is now reachable without password. see link in private.
March 2, 2021 at 6:28 am #1284630Hi,
Please try this CSS as well:
.main_color { border-color: transparent; }
Best regards,
RikardMarch 3, 2021 at 1:57 pm #1285017Hi Rikard, that did the trick!
Two last questions:
– on ios/apple mobile phones the footer acts strangely / doesn’t show. the bottom line
ios:- https://www.dropbox.com/s/uwiaoljdvl12hwq/IMG-20210228-WA0000.jpg?dl=0
android:
- https://www.dropbox.com/s/nfnn40xdjmq6w0p/IMG-20210228-WA0001.jpg?dl=0
– on tablet there is no margin/padding around the box/black lines. How can I add this to these devices only?
- https://www.dropbox.com/s/cmok142uug7gk1k/Alles-voor-je-veilige-shop-gevoel-Hoeklijst.png?dl=0
March 5, 2021 at 5:32 am #1285611Hi,
You have used a different hook compared to my example code here: https://kriesi.at/support/topic/design-question-logo-placement/#post-1283368. Could you try using the hook in my example instead?
Tablet/black lines; I’m not sure exactly what you are referring to, could you explain a bit further, or point it out in your screenshot please?
Best regards,
RikardMarch 11, 2021 at 3:07 pm #1287443Hi Rikard,
I struggled a lot with your hook, I did not manage at all to place the bottom-left image close to the ‘frame/border’, so no, I prefer to use the hook I found myself. Can you advice on another method? I find it particularly strange that this footer issue, as described, only happens on IOS/Apple…?
In regards to the (missing) black/lines on tablet: on larger screens and mobile there’s always the boxed website (with the black line all around it). On tablet there is no blackline on the sides: meaning there is no margin/padding on left/right of the ‘boxed’ view/content… can’t really describe it any better, the current images make this pretty clear I guess? So the question is, how do I add padding/margin to the website on tablets?
just these two points & the site is finished. thx in advance for your quick response:)
March 15, 2021 at 9:47 am #1288224Hi,
This CSS in your child theme is hiding the bottom left image on screens under 1200 pixels:
@media only screen and (max-width: 1200px) { .bottom-left-image { display: none; } }
Tablets; I can see the black lines on my end on tablet sizes, but I don’t have an actual tablet to test on unfortunately. Could you post a screenshot of the problem please? Also, does it not happen if you resize your desktop browser?
Best regards,
RikardMarch 15, 2021 at 12:17 pm #1288252Rikard,
Please, look at the images, on how the bottom border looks at android devices and how it looks on IOS. The bottom border isn’t the .bottom-left-image … that’s the logo on the bottom left. Codes that are present:
.main_color .container {
border-bottom: 2px solid #000 !important;
border-left: 2px solid #000;
border-right: 2px solid #000;@media only screen and (max-width: 767px) {
.main_color .container {
border-top: 2px solid #000;
border-bottom: 2px solid #000 !important;
}yet it doesn’t show on IOS. why?
March 17, 2021 at 11:06 am #1288692Hi RIkard, any idea?
March 18, 2021 at 3:01 pm #1288998nudge. still no reply?
March 19, 2021 at 4:21 am #1289078Hi,
Thanks for the update. I checked your site on IOS, but I haven’t been able to find out why it looks different compared to Android unfortunately.
Best regards,
RikardApril 20, 2021 at 5:05 am #1295408This reply has been marked as private.April 22, 2021 at 5:13 am #1295916Hi dcshortwave,
Could you post a screenshot highlighting your intentions please?
Best regards,
RikardApril 28, 2021 at 8:37 am #1297119This reply has been marked as private.May 1, 2021 at 4:58 am #1297661Hi dcshortwave,
Thanks for the update. First of all, could you please open a new thread? You posted your question in a thread which is very long, and difficult to follow, and you are asking for a lot of changes to your site. If we start fresh in a new thread, then it will be easier to help you out. Also please include the screenshots and login details in your new thread.
Also please try to stick to one problem per thread in the future.
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.