What's your biggest current challenge? Have your say in Community Polls along the right column.

Can't find code

Solved

Can't find code

B7R
Tourist
4 1 0

I'm trying to edit code. I've been using Inspect / View Source and I can do what I need locally, but can't find the specific file that I need.

 

I'm trying to improve some hover behaviours on https://realtathelabel.com/ - eg clicking Header > Shop By > and hovering on Bestsellers, Charms and Bridal, highlighted in the Inspect code on the left. I want to add some images and change titles on hover for these three elements. The other four element hovers have images & titles working fine. I've gone through the class and ID names on the left, then the file names on the right like theme.css or site-nav.css, and also just looking for any files that contain "header".

 

I can't find the specific lines anywhere in the Code Editor, after searching through any of the files mentioned in Inspect and that looked relevant.

 

B7R_1-1730677410913.pngB7R_2-1730677423746.png

 

Another example with this "true" text under Add to Cart - I can see the code that needs to be removed but cannot find it in the Shopify Code Editor after searching the files mentioned on the right, like product-complementary.liquid.

B7R_1-1730681896818.pngB7R_0-1730681877483.png

 

Advice appreciated.

 

Accepted Solution (1)

B7R
Tourist
4 1 0

This is an accepted solution.

Hi both - and to anyone viewing this, it turns out that you can't edit all the code. Some code is locked behind the Plus plan, which is the most expensive and aimed toward Enterprise businesses. I couldn't find the files I needed to edit because I can't access all the code.

View solution in original post

Replies 6 (6)

Shadab_dev
Shopify Partner
950 53 93

Well that is how the programming world works sometimes you just make it and sometimes you just get stuck. 

 

Please reach out via mail for a convenient conversation. Also kind of didn't catch up with your requirement. It would be great if you can explain more in detail about this may be with some examples

 

Best

Shadab

Buy me Coffee, if you feel i was helpful. Email Me or WhatsApp me for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.
B7R
Tourist
4 1 0

I don't know where the relevant code files are.

 

Edited with another example - this "true" text under Add to Cart. I can see the code that needs to be removed but cannot find it in the Shopify Code Editor after searching the files mentioned on the right, like product-complementary.liquid, theme.liquid. I have searched for a lot of classes and ids, within many of the files, but haven't found anything yet. 

B7R_0-1730759117659.png

 

B7R_1-1730759117648.png

 

 

suyash1
Shopify Partner
10222 1261 1601

@B7R - it looks like the menu and the drop down, so you can check them in navigation settings.  Did you add any custom app for navigation?

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.
B7R
Tourist
4 1 0

Hi, the navigation settings have the titles and links, but no image attachments or hover behaviour to change. A developer has worked on the site previously and created the functionality, but I can't find the file to make changes in Shopify's Edit Code. There are 40+ apps installed, but I don't think any of them are for navigation.

 

B7R_0-1730724694382.png

 

suyash1
Shopify Partner
10222 1261 1601

@B7R  can you add me as collaborator? I will go through everything and check, I will need collab code and then I can send request

To build shopify pages use PAGEFLY | Contact me - suyash.patankar@gmail.com , My timezone is GMT+5:30.

B7R
Tourist
4 1 0

This is an accepted solution.

Hi both - and to anyone viewing this, it turns out that you can't edit all the code. Some code is locked behind the Plus plan, which is the most expensive and aimed toward Enterprise businesses. I couldn't find the files I needed to edit because I can't access all the code.