Advice wanted, how to locate code in multiple files - the bane of my life atm.
Hi, i've searched the internet for tutorials but come up short and i was wondering if anyone would be kind enough to share some tips.
as an example i'll post my latest issue and i'd love the solution.. but i'd really be thankful for anyone who could help show me a better way to do this myself as it is an issue i seem to run into almost every time i sit down to work on web dev.
here's my site: www.focallocal.org
i'm trying to make the sliding_tab in the side column display differently on different size screens (basically for mobile devices) and atm it appears half open when arriving on the page on a small screened device.
here is the code that seems to be responsible, i can find and edit it using inspect element
<div id="tab_slide" class="tab_slide tab_slide_wrapper" style="left: -198px; height: 100%; width: 25%;">
but i've spent about 6 hours trying to work out where in the many plugin files the left value is set. i can edit it in my child theme, but the value is dynamic and so editing it in the child theme will break the sliding function.
is there an easier way to see where the value is coming from and where the all the elements of that code originate? or a plugin that will enable me to edit it in the inspect element screen and save that to my live site? or direct me to a guide somewhere online i could follow.
thanks very much, i'm a beginner at web dev but i am learning and this would be a big help.
Merry Xmas - Andy
Any decent code editor (I use Komodo Edit, just one of many possibilities) should include a search feature that lets you search all files in a directory (and its sub-directories). You could then search for "tab_slide" and see what shows up. Of course, this may mean you have to pull all the relevant files/directories down to your local development machine if you don't keep everything there for development.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread