Show Posts


Messages - Pwner

Pages: [1]
1
How-to questions / Re: Which style sheet for the bootstrap theme?
« on: March 17, 2024, 08:15:28 PM »
When trying to find what specific css file is being used on a webpage, one thing I do is just hit "Ctrl+Shift+C" (or you can just hit F12 if you are not on firefox....i dont know if ctrl+shift+c works outside of firefox tbh lol), then you can highlight the area you are curious about, and on the "developer tools" menu it will have the html code on one side, and the other side should have the css rules and will show exact file locations for all css rules. Once you figure it out, you can use the developer tools on your web browser to kind of "backtrack" a lot of things and find what you are looking for :).
If I am unclear on anything, please feel free to ask and I can help out. I am no web-master, but I also love learning more and more lol.
(Just trying to teach how to fish, rather than give a fish lol.)

2
I finally figured out the issue, basically I just needed to add the "http://" to the beginning of the link, lol.

Instead of using "    echo '<a href="' . $pcgw_link . '">PC Gaming Wiki Link</a><br>';"
I had to change it into "    echo '<a href="http://' . $pcgw_link . '">PC Gaming Wiki Link</a><br>';"
and now it works exactly how I wanted.
I didn't fully understand what was going on with the code previously, but now that I understand it, the answer seems so obvious lol.

Just posting  my answer on the off-chance a random person gets in the same situation and searches for help :)

3
I apologize if the title is not technically "accurate", I am honestly not very sure how to phrase it or say it.
 
Long story short, anytime I try to make a clickable link within a products description, it will always attach the current host domain/ip to the very beginning. if I were to try and make a link to take a user to "pcgamingwiki.com/wiki/Resident_Evil" it will always turn the link into "192.168.0.XX/cart/pcgamingwiki.com/wiki/Resident_Evil". (This is all being ran locally on an intranet, which is why it gives the local IP). I have tried using "../" at the beginning of the link, but that just helps me remove the subdirectory the store is in(the "cart" folder), and doing it more than once doesn't seem to do anything else lol. (Sorry, I am still new to a lot of this, so idk what information is obvious and what I need to specifically state lol.) I just need help learning where this "function/setting?" is and, if possible, what i can do to turn it off.
I also noticed if I create a link on the top category/menu area, it does not add this prefix, so I know it is possible and I am not just a crazy person lol.

I seriously hope this makes sense, but if I am not being very clear please feel free to ask for any information and I'll gladly provide it. I know this is probably a super tiny thing for some of you web-master types, but for me, this is driving me INSANE lol. Please help!
Thank you :D

Pages: [1]

Powered by SMFPacks Social Login Mod