Hide banner in specific URL [closed] - php

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 days ago.
Improve this question
I have wordpress website , I put banner in the header of my site , this banner will show in all my site pages , I need PHP code to hide this banner in specific page and show another banner only in url that I want instead.
Can anyone help me to change this banner only in specific URL that I want ?
This is the banner enter image description here

Try using CSS and the body class of the page and display:none to hide one or another of the banners.
body.classforthatpage .yourbanner-class-or-id {display:none;}
Use Dev tools to find the body classes for the pages.

Related

Can you help me in a color problem in WordPress? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 days ago.
Improve this question
I have a manhwa website called kmanhwa.com but I have a problem. When people open my website they see original template color then they see the color that I modified from the original.
And when I had try before automatic adsense all template has changed color to the original and I cancelled the auto ads.
For me I don't know resource problem but I think that's start happening when I try to optimise the website with 10web booster and speed boster but I'm not sure.

how can I load my urls and page without the whole browser loading in laravel [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
pls im looking for a new way to load my urls and pages in laravel, i want the url to change and the webpage to change but i do not want the whole browser to load, some examples are like soundcloud.com, wakanow.com, https://www.indiehackers.com/businesses, even linkedin has the same feature, where the pages load like desktop apps and they have nice preolading animations that works with the page, i believe this will be helpful to other people too :)

How to add ID to Wordpress plugin title? [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
I am using the Shapely theme to build a website, and this particular theme uses widgets to create the home page layout and content.
The site I'm working on is currently hosted here.
What I am trying to accomplish is adding an ID to the main title (BimFlooring) so I style it individually with CSS. I can modify it without issue, but down the page, there are elements with the same selector (.image-bg p).
How can I add an ID to just the title on the 1st widget so that the other titles further down are not affected?
*Edit: I should mention I have looked through the themes PHP files and for the widget itself and have not come across a place to modify what I'm looking for.
You can use it below selector for only first section css.
example
/* Below selector for p tag text */
shapely_home_parallax-1 .image-bg p { }
/* Below selector for h1 tag text */
shapely_home_parallax-1 .image-bg h1 { }

Change relative urls to absolute in an html document using DOMDocument [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I am using curl to get some html pages in strings, but I have a problem when i display it , it doesn't show the images nor the css ,let say
the data have this
want to get modified to
thanks!
I want it to modify the whole html page ...
You can use wget with the -k option. Or just see the answers here.
Your problem is that links to images and stylesheets are relative instead of absolute, so your browser doesn't know the real origin of the page when displaying it. A quick fix would be to add
<base href="http://domain.com" />
(with the real originating domain) in the head of your page prior to displaying it.

CSS disable horizontaly scrolling - Wordpress [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Hi im working on a wordpress blog and have the following problem:
http://www.catlovers.co/17-cat-reactions-that-sum-up-your-love-life/
If i resize the browser (X-Axies) to a minimum like surfing on a mobile device i am able to scroll to the right in the Contend section (hold down middle mouse button).
How can i change my CSS to disable this kind of scrolling?
I think my problem has something to do with the "post-container" class. Is the "overflow:auto" a possible problem?
Try This: in your css
#media only screen and (max-width: 479px){
.post-container{overflow: hidden;}
}

Categories